The Command Line Parser Library supports:
  • Short options (-s, for example)
    • Option+Value/No space: -sHello
    • Option+Space+Value: -s Hello
  • Short options like switches; no value required
    • Option+Space+Option+....... -s -x -y -z
    • Option+Option+Option+...: -sxyz...
    • Option+Option+Space/Any Comb.: -sx -yz
  • Long options (--long, for example)
    • Option+Equal+Value: --long=Hello
    • Option+Space+Value: --long Hello
  • Composed options (it's about values)
    • --any 1;2;3;4 (separator is configurable)
  • Common features
    • Both accepts values with spaces: -s"Hello World!" --long "Hello CLR!"
  • Remarks
    • Short option and short options' group requires single hyphen (-)
    • Long option requires double hyphen (--)
    • Single hyphen (-) is also accepted as a value

Last edited Nov 6, 2009 at 9:34 PM by gsscoder, version 7

Comments

No comments yet.