diff options
author | steven.bethard <devnull@localhost> | 2009-07-12 23:03:29 +0000 |
---|---|---|
committer | steven.bethard <devnull@localhost> | 2009-07-12 23:03:29 +0000 |
commit | 1ccd94f7abd2d05a1ccbbd3d0b05332e965e6a2c (patch) | |
tree | 6307cbaa5380fcc2c497c5ccc4d36acf7990fa41 | |
parent | e2ee5d493050071f7d853838a62be3e14ec6e4d6 (diff) | |
download | argparse-1ccd94f7abd2d05a1ccbbd3d0b05332e965e6a2c.tar.gz |
Update some version numbers.
-rw-r--r-- | doc/source/ArgumentParser.rst | 4 | ||||
-rw-r--r-- | doc/source/conf.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/ArgumentParser.rst b/doc/source/ArgumentParser.rst index ff62745..1bf5e63 100644 --- a/doc/source/ArgumentParser.rst +++ b/doc/source/ArgumentParser.rst @@ -64,7 +64,7 @@ version Programs which want to display the program version at the command line can supply a version message as the ``version=`` argument to ArgumentParser. This will add a ``-v/--version`` option to the ArgumentParser that can be invoked to print the version string:: - >>> parser = argparse.ArgumentParser(prog='PROG', version='%(prog)s 1.2.1') + >>> parser = argparse.ArgumentParser(prog='PROG', version='%(prog)s 3.5') >>> parser.print_help() usage: PROG [-h] [-v] @@ -72,7 +72,7 @@ Programs which want to display the program version at the command line can suppl -h, --help show this help message and exit -v, --version show program's version number and exit >>> parser.parse_args(['-v']) - PROG 1.2.1 + PROG 3.5 Note you can use the ``%(prog)s`` format specifier to insert the program name into the version string. diff --git a/doc/source/conf.py b/doc/source/conf.py index e47cfb2..37b4763 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -45,9 +45,9 @@ copyright = u'2006-2009, Steven Bethard' # built documents.
#
# The short X.Y version.
-version = '0.9.1'
+version = '0.9.2'
# The full version, including alpha/beta/rc tags.
-release = '0.9.1'
+release = '0.9.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
|