News for hackers. Stuff that matters.
Re:The growth of command-line options, 1979-Present by souprock on Tuesday March 03, 2020 @06:59PM (#22479958)
Ouch, the /usr/bin/tar team beat me. I only added 63 options to /bin/ps from Slackware 3.1 (1996) to Ubuntu 12 (2015). They added 81 options. If I'd known about the contest, I could have added enough options to win.

The true winner is probably gcc though, which was unfairly excluded from competition. Over 1000 options is excellent work.

Re:The growth of command-line options, 1979-Present by carterehsmith on Tuesday March 03, 2020 @07:28PM (#22480135)
Is there a better way? Can we make gcc with less options, while still catering to all the use cases.
Re:The growth of command-line options, 1979-Present by Paul-ish on Tuesday March 03, 2020 @09:18PM (#22480676)
That might not be possible. What if instead we created a configuration tool that intelligently passed the correct options for you.
Re:The growth of command-line options, 1979-Present by carterehsmith on Tuesday March 03, 2020 @09:23PM (#22480685)
Could that tool magically reduce the number of options? That would be quite a tool.
Re:The growth of command-line options, 1979-Present by bentcorner on Tuesday March 03, 2020 @10:05PM (#22480873)
You could subdivide what gcc does into other utilities each with a smaller api.
Re:The growth of command-line options, 1979-Present by TeMPOraL on Wednesday March 04, 2020 @12:18AM (#22481387)
This way lies Node.js. You'll end up with a complex config file just to orchestrate all these smaller utilities.
Re:The growth of command-line options, 1979-Present by Paul-ish on Wednesday March 04, 2020 @02:18PM (#22486943)
Yes. We will call it autotools.
Re:The growth of command-line options, 1979-Present by pornel on Wednesday March 04, 2020 @10:05AM (#22484294)
For some things, yes. For example, Rust manages warnings from the source code (-Wfoo is #[warn(foo)], and it's scoped!)
Re:The growth of command-line options, 1979-Present by Camas on Tuesday March 03, 2020 @10:21PM (#22480934)
Too late now. Once they exist there's someone that depends on them.