summaryrefslogtreecommitdiff
path: root/lib/listcommands.py
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-07-20 16:32:07 +0200
committerSanto Cariotti <sancn@live.com>2017-07-20 16:32:07 +0200
commite4f41b6b14f06e6edaebfd1fc61937861c4c5b71 (patch)
tree3901ae15d25ccb511c680541a621a651a8fcf6a4 /lib/listcommands.py
parentbcbe0ebabff007d3c53ce2a922c0fb7000340f3b (diff)
fixed errors in command get
Diffstat (limited to 'lib/listcommands.py')
-rw-r--r--lib/listcommands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/listcommands.py b/lib/listcommands.py
index 8313d26..74079c9 100644
--- a/lib/listcommands.py
+++ b/lib/listcommands.py
@@ -6,13 +6,14 @@ class ListCommands(object):
info = {
'info' : 'this is stout',
'set' : ['set a value', 3],
+ 'get' : ['return a value', 3]
}
commands = {
'quit' : None,
'clear' : None,
'set' : ['user'],
- 'get' : ['user', 'user?', 'host', 'port']
+ 'get' : ['i', ['user', 'host', 'port'], 'user?']
}
@staticmethod