diff options
author | W. Trevor King <wking@drexel.edu> | 2010-02-01 11:36:21 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-02-01 11:36:21 -0500 |
commit | 0dd273f8605bc21589a51d3b046a231ff9df6fbb (patch) | |
tree | fefc1e6270f27b7c8ad8b4440535f43b92b7f8b0 /libbe/command/util.py | |
parent | 148379492d314c0eb98ee8559aea7a2fd0baaeb2 (diff) | |
download | bugseverywhere-0dd273f8605bc21589a51d3b046a231ff9df6fbb.tar.gz |
Fix command name output of `be --complete`.
By adding command_names option to libbe.command.commands. Previous
versions of `be --complete` printed "import_xml", not "import-xml".
Also fixed libbe.command.base's doctests, so test.py can run them.
Diffstat (limited to 'libbe/command/util.py')
-rw-r--r-- | libbe/command/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/util.py b/libbe/command/util.py index 977b596..6e8e36c 100644 --- a/libbe/command/util.py +++ b/libbe/command/util.py @@ -32,7 +32,7 @@ def complete_command(command, argument, fragment=None): command argument is not used. """ - return list(libbe.command.commands()) + return list(libbe.command.commands(command_names=True)) def comp_path(fragment=None): """List possible path completions for fragment.""" |