projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d76410
)
Don't worry about whitespace in `be --help`
author
W. Trevor King
<wking@drexel.edu>
Wed, 30 Dec 2009 00:53:13 +0000
(19:53 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 30 Dec 2009 00:53:13 +0000
(19:53 -0500)
libbe/ui/command_line.py
patch
|
blob
|
history
diff --git
a/libbe/ui/command_line.py
b/libbe/ui/command_line.py
index b99f8123e4b2cf65b1d15f7f994dda4c803952e6..9df474ee2e3e6bdd261657a41f521ef64feeb2a8 100755
(executable)
--- a/
libbe/ui/command_line.py
+++ b/
libbe/ui/command_line.py
@@
-167,7
+167,7
@@
class BE (libbe.command.Command):
>>> p = CmdOptionParser(be)
>>> p.exit_after_callback = False
>>> try:
- ... options,args = p.parse_args(['--help']) # doctest: +ELLIPSIS
+ ... options,args = p.parse_args(['--help']) # doctest: +ELLIPSIS
+NORMALIZE_WHITESPACE
... except CallbackExit:
... pass
usage: be [options] [COMMAND [command-options] [COMMAND-ARGS ...]]