astrocats icon indicating copy to clipboard operation
astrocats copied to clipboard

Subcommands don't show 'help' dialog from argparse

Open lzkelley opened this issue 8 years ago • 0 comments

Need to find a way to get the subcommand parsers to show their own help, when -h/--help is passed after the subcommand name.

e.g.:

  • astrocats -h should run the top-level help.
  • astrocats -m catalog -h should run catalog-level help.
  • astrocats -m catalog import -h should run the import help.

lzkelley avatar Jul 18 '16 18:07 lzkelley