Python argparse subparser invalid choice

Describes the cause and action for error messages.


Error Message(English):
argparse subparser invalid choice

Resolution


関連リンク


argparse optional positional argument and subparsers arguments ...
https://stackoverflow.com/questions/20746494/argparse-optional-positional-argument-and-subparsers-ar・・・

argparse not handling abbreviations in subparser properly
https://stackoverflow.com/questions/47222276/argparse-not-handling-abbreviations-in-subparser-proper・・・

How to avoid args confusion with argparse?
https://stackoverflow.com/questions/34018019/how-to-avoid-args-confusion-with-argparse

python argparse -- customizing error messages
https://stackoverflow.com/questions/30956688/python-argparse-customizing-error-messages

Python argparse - commands not correctly parsed when using ...
https://stackoverflow.com/questions/15357694/python-argparse-commands-not-correctly-parsed-when-usin・・・

Issue 9253: argparse: optional subparsers - Python tracker
https://bugs.python.org/issue9253

Issue 34479: ArgumentParser subparser error ...
https://bugs.python.org/issue34479

Issue 22848: Subparser help does not respect ...
https://bugs.python.org/issue22848

Issue 9571: argparse: Allow the use of -- to break ...
https://bugs.python.org/issue9571

15.4. argparse ? Parser for command-line options, arguments and ...
https://docs.python.org/2/library/argparse.html



Name:
Comment:



[return to Python エラーコード一覧]