PyDocs

Nav

Command-line interface libraries

Action.format_usage

argparse

method of Action (source)
  • Action.format_usage()
Action subclasses can define a format_usage() method that takes no argument and return a string which will be used when printing the usage of the program. If such method is not provided, a sensible default will be used.
0 Examples
No examples for argparse/Action.format_usage.
See Also
No see-alsos for argparse/Action.format_usage
0 Notes
No notes for Action.format_usage