Assume ipa help for plugins.

ticket 914
This commit is contained in:
Jan Cholasta 2011-05-13 14:36:19 +02:00 committed by Rob Crittenden
parent 756d61724e
commit 6c66d37655

View File

@ -898,6 +898,12 @@ class cli(backend.Executioner):
return
(key, argv) = (argv[0], argv[1:])
name = from_cli(key)
if name not in self.Command and len(argv) == 0:
try:
self.Command.help(unicode(key))
return
except HelpError:
pass
if name not in self.Command or self.Command[name].NO_CLI:
raise CommandError(name=key)
cmd = self.Command[name]