* now, you'll see the shortcuts better :) tell me if you want shortcuts
for the ones that don't have shortcuts, make sure they are 2 letters long
This commit is contained in:
@@ -46,7 +46,10 @@ class Command(object):
|
|||||||
commandcls = Command.cmd_dict[name]
|
commandcls = Command.cmd_dict[name]
|
||||||
trans = gettext.translation('pisi', fallback=True)
|
trans = gettext.translation('pisi', fallback=True)
|
||||||
summary = trans.ugettext(commandcls.__doc__).split('\n')[0]
|
summary = trans.ugettext(commandcls.__doc__).split('\n')[0]
|
||||||
s += '%20s - %s\n' % (commandcls.name[0], summary)
|
name = commandcls.name[0]
|
||||||
|
if commandcls.name[1]:
|
||||||
|
name += ' (%s)' % commandcls.name[1]
|
||||||
|
s += '%20s - %s\n' % (name, summary)
|
||||||
return s
|
return s
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user