Are there standards for Linux command line switches and arguments?
问题 This is more about the invocation of a program, than any language or parser (though I'm sure choice of parser library can depend on this). See, I've used a lot of Linux command-line utilities. And there are some obvious patterns; '-' precedes a single letter for short options, multiple options that don't take arguments can be combined, '--' precedes long versions of options, and so on. However, in some cases, capitalization is used to invert an option. So, '-d' might mean to run as a daemon,