aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/command/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/command/base.py b/libbe/command/base.py
index c6337ec..4814a17 100644
--- a/libbe/command/base.py
+++ b/libbe/command/base.py
@@ -335,7 +335,8 @@ class Command (object):
def complete(self, argument=None, fragment=None):
if argument == None:
- ret = ['--%s' % o.name for o in self.options]
+ ret = ['--%s' % o.name for o in self.options
+ if o.name != 'complete']
if len(self.args) > 0 and self.args[0].completion_callback != None:
ret.extend(self.args[0].completion_callback(self, argument, fragment))
return ret