[Pkg-bazaar-commits] ./bzr/unstable r31: fix up parse_args doctest
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:25:43 UTC 2009
------------------------------------------------------------
revno: 31
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Sun 2005-03-13 16:32:33 +1100
message:
fix up parse_args doctest
modified:
bzr.py
-------------- next part --------------
=== modified file 'bzr.py'
--- a/bzr.py 2005-03-13 05:28:56 +0000
+++ b/bzr.py 2005-03-13 05:32:33 +0000
@@ -583,13 +583,13 @@
lookup table, something about the available options, what optargs
they take, and which commands will accept them.
- >>> parse_args('bzr --help'.split())
+ >>> parse_args('--help'.split())
([], {'help': True})
- >>> parse_args('bzr --version'.split())
+ >>> parse_args('--version'.split())
([], {'version': True})
- >>> parse_args('bzr status --all'.split())
+ >>> parse_args('status --all'.split())
(['status'], {'all': True})
- >>> parse_args('bzr commit --message=biter'.split())
+ >>> parse_args('commit --message=biter'.split())
(['commit'], {'message': u'biter'})
"""
args = []
More information about the Pkg-bazaar-commits
mailing list