casperdcl / argopt

convert docopt to argparse
https://pypi.python.org/pypi/argopt
Other
23 stars 2 forks source link

[bug] undetermined order of parse #17

Open Freed-Wu opened 2 years ago

Freed-Wu commented 2 years ago
❯ a --help
usage: a [-h] [-q] [-d] [-v] [--print-completion {bash,zsh,tcsh}]

a.

options:
  -h, --help            show this help message and exit
  -q, --quiet           Don't show normal information.
  -d, --debug           Show debug information.
  -v, --version         show program's version number and exit
  --print-completion {bash,zsh,tcsh}
                        print shell completion script

Report bugs to <wuzy01@qq.com>.
❯ a --help
usage: a [-h] [-d] [-q] [-v] [--print-completion {bash,zsh,tcsh}]

a.

options:
  -h, --help            show this help message and exit
  -d, --debug           Show debug information.
  -q, --quiet           Don't show normal information.
  -v, --version         show program's version number and exit
  --print-completion {bash,zsh,tcsh}
                        print shell completion script

Report bugs to <wuzy01@qq.com>.

Undetermined order of argopt, which make writing a test script is impossible.