lp:argparse
- Get this branch:
- bzr branch lp:argparse
Branch merges
Branch information
Import details
This branch is an import of the Subversion branch from http://argparse.googlecode.com/svn/trunk/.
Last successful import was .
Whiteboard
approved 2010-03-10 barry
Recent revisions
- 76. By steven.bethard
-
Better error messages for errors like type='int'. This actually caught a bug in one of the tests and as I result, this patch also makes sure that types display as their type name when %(type)s is specified.
- 74. By steven.bethard
-
Deprecate ArgumentParser(..., version=XXX, ...) as well as format_version() and print_version(). These should be replaced with .add_argument(..., action='version', ...).
- 72. By steven.bethard
-
Namespace objects now support "in" (__contains__).
Usage and help (but not version) messages are written to stdout, not stderr. - 71. By steven.bethard
-
Add convert_
arg_line_ to_args to allow subclasses to easily override file parsing behavior. - 70. By steven.bethard
-
Fix bug where --si=64 was deemed ambiguous when both --si and --size were in the parser.
- 69. By steven.bethard
-
Add support for nargs='...', which allows emulation of command lines like "python [options] file [arguments]".
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)