Completer: support all hints

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2013-03-16 16:39:23 +00:00
parent 8c26798395
commit 22f39c75d6

View File

@ -28,7 +28,10 @@ class Completer(object):
Creates a completer for a given britney.
"""
self.matches = []
self.cmds = ['easy', 'hint', 'force-hint', 'exit', 'quit']
self.cmds = ['easy', 'hint', 'force-hint', 'force',
'force', 'age-days', 'urgent', 'block-all',
'block', 'block-udeb', 'unblock', 'unblock-udeb',
'exit', 'quit']
self.britney = britney
# generate a completion list from excuses.
# - it might contain too many items, but meh