These are needed to work with the way bindctl originally handled commands, but should not appear in normal tab-completion
@@ -518,8 +518,13 @@ class BindCmdInterpreter(Cmd):
except BindCtlException:
hints = []
+ # there are a couple of 'standard' names that are usable, but
+ # should not be included in direct tab-completion
+ hints = [ h for h in hints if h not in [ 'argument', 'identifier']]
+
self.hint = hints
if state < len(self.hint):
return self.hint[state]
else: