mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-16 04:51:32 +00:00
Completer: support all hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
0463c666f0
commit
d9a9a26c57
@ -28,7 +28,10 @@ class Completer(object):
|
|||||||
Creates a completer for a given britney.
|
Creates a completer for a given britney.
|
||||||
"""
|
"""
|
||||||
self.matches = []
|
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
|
self.britney = britney
|
||||||
# generate a completion list from excuses.
|
# generate a completion list from excuses.
|
||||||
# - it might contain too many items, but meh
|
# - it might contain too many items, but meh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user