|
@@ -60,8 +60,8 @@ class PluginData(object):
|
60
|
60
|
self.fmt = "plain"
|
61
|
61
|
elif cmdargs['--xgp']:
|
62
|
62
|
self.fmt = "xgp"
|
63
|
|
- self.name = cmdargs['<command>']
|
64
|
|
- self.args = cmdargs['<args>']
|
|
63
|
+ self.name = cmdargs['COMMAND']
|
|
64
|
+ self.args = cmdargs['ARGS']
|
65
|
65
|
if cmdargs['--chars']:
|
66
|
66
|
self.maxlen = int(cmdargs['--chars'])
|
67
|
67
|
|
|
@@ -70,7 +70,7 @@ class Subcommand(object):
|
70
|
70
|
|
71
|
71
|
def __init__(self, cmdargs, pluginpath):
|
72
|
72
|
self.plugindata = PluginData(cmdargs)
|
73
|
|
- self.name = cmdargs['<command>']
|
|
73
|
+ self.name = cmdargs['COMMAND']
|
74
|
74
|
self._load_plugin(pluginpath)
|
75
|
75
|
|
76
|
76
|
def _load_plugin(self, pluginpath):
|