News for hackers. Stuff that matters.
Re:Conventions for Command Line Options by goto11 on Saturday August 01, 2020 @02:43PM (#24022857)
Why would someone ever want to use the second syntax? (Genuine question, not rhetorical!)

It seems using = for optional option arguments is only allowed with long form. Why is that? Wouldn't it be nicer to be able to write "program -c=blue" rather than "program -cblue"?

Re:Conventions for Command Line Options by mehrdadn on Saturday August 01, 2020 @03:56PM (#24023392)
The second syntax when you want to ask a program to pass an argument to another program. Having to pass 2 arguments is a lot more annoying since you'd often then have to prefix each one.