I see no pattern in command line programs that take
-o=value
versus
-o value
For double dash long options, I see a major preference to the equals notation but not for short options. Is there a reason or best practice?
I see no pattern in command line programs that take
-o=value
versus
-o value
For double dash long options, I see a major preference to the equals notation but not for short options. Is there a reason or best practice?
After some Googling it seems most discussions of the evolution of command-line arguments couple the rise of the
=
sign to the rise of GNU-style long options. I can't find a reference stating explicitly that it was never common practice to use=
to separate short options from their arguments, but I also can't find any discussion of anyone doing that.Some brief discussions ...