duplicity.cli_main module
Main for parse command line, check for consistency, and set config
- class duplicity.cli_main.DuplicityHelpFormatter(prog, indent_increment=2, max_help_position=24, width=None)[source]
Bases:
ArgumentDefaultsHelpFormatter
,RawDescriptionHelpFormatter
A working class to combine ArgumentDefaults, RawDescription. Use with make_wide() to insure we catch argparse API changes.
- duplicity.cli_main.make_wide(formatter, w=120, h=46)[source]
Return a wider HelpFormatter, if possible. See: https://stackoverflow.com/a/5464440 Beware: “Only the name of this class is considered a public API.”