Command-line interface description language
docopt.org
docopt.org
-long
mean?For example, this: http://explainshell.com/explain?cmd=tar+-z+-c+-f
Is the same as: http://explainshell.com/explain?cmd=tar+-zcf
But trying to stack double-dashed arguments would be stupid: http://explainshell.com/explain?cmd=tar+--helpversion
> Is the same as: http://explainshell.com/explain?cmd=tar+-zcf
Which is also the same as http://explainshell.com/explain?cmd=tar+zcf because of the unique way tar treats argv[1].
let me turn the question around: you imply that you wouldn't miss bundling of short options. what tools do you use most? how come you'd not find `-a -b -c -d -e` inferior to `-abcde`?
I wasn't objecting to it, just wondering why it was done that way.
That way it would be easier to write utilities for testing the CLI, to generate the shell completion script and to change the interface without messing with hard-coded strings in the code.
[1]: https://github.com/docopt/docopt.coffee