[issue45504] [argparse] Entering a partial config_parser flag works with subparsers

2021-10-26 Thread paul j3
Change by paul j3 : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45504] [argparse] Entering a partial config_parser flag works with subparsers

2021-10-25 Thread Steven W
Steven W added the comment: Thanks. This can be closed. https://docs.python.org/3/library/argparse.html -- ___ Python tracker ___

[issue45504] [argparse] Entering a partial config_parser flag works with subparsers

2021-10-25 Thread paul j3
paul j3 added the comment: As a default option flags can be abbreviated (unless there's a conflict). Recent version have a allow_abbrev parameter that lets you turn this off. -- nosy: +paul.j3 ___ Python tracker

[issue45504] [argparse] Entering a partial config_parser flag works with subparsers

2021-10-17 Thread Steven W
Change by Steven W : -- components: +Library (Lib) -Parser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45504] [argparse] Entering a partial config_parser flag works with subparsers

2021-10-17 Thread Steven
New submission from Steven : I have a package with a module called `commands.py`. This file is basically three sub parsers and an entry point. Here is one of my subparsers. It shows the current path of a config file, and lets you update the path if you want. #config sub-command