Allow Format -o=value or --option=value
Closed this issue · 3 comments
mastacheata commented
This is more of a feature request than an actual issue, but still:
Please add an option to allow the equals symol to be used as a seperator for option name and value.
Right now you have no seperator at all or space (and thus a new element in argv) as a separator.
Having the = like the getopt from php does would be very welcome here.
Thanks in advance.
tburry commented
The CLI supports the equals sign for the long form arguments, but not the short form. That's a sensible request though.
mastacheata commented
Oh, apparently I only tried it with the short form.
Must have overlooked the fact that long form allows = as separator, even though I looked into the sourcecode just for that purpose...
Thanks for considering it, though.