bw2 / ConfigArgParse

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
MIT License
728 stars 121 forks source link

add ignore_help_args option to parse_known_args(..) #223

Closed bw2 closed 3 years ago

bw2 commented 3 years ago

Add ignore_help_args option to parse_known_args(..) to avoid exiting the first time this method is called when -h is specified. This can allow all arg definitions to be executed before -h is handled, even if these definitions are interleaved with calls to parse_known_args(..)