TidyUsageArgumentDefaultsHelpFormatter#
- class caf.toolkit.arguments.TidyUsageArgumentDefaultsHelpFormatter(prog, indent_increment=2, max_help_position=24, width=None)[source]#
Format usage text to remove optional arguments and just have ‘[options]’.
Methods
__init__
(prog[, indent_increment, ...])add_argument
(action)add_arguments
(actions)add_text
(text)add_usage
(usage, actions, groups[, prefix])start_section
(heading)