invoking 'help' command from shell display only list of commands (no options)
This commit is contained in:
parent
fd5901b00e
commit
f1305f0daa
1 changed files with 0 additions and 3 deletions
|
|
@ -248,9 +248,6 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
def main(self, argv):
|
def main(self, argv):
|
||||||
cmd_args = argv[1:]
|
cmd_args = argv[1:]
|
||||||
if cmd_args:
|
if cmd_args:
|
||||||
if cmd_args[0] == 'help':
|
|
||||||
self._parser.print_help()
|
|
||||||
self._parser.exit()
|
|
||||||
cmd_line = u' '.join(cmd_args)
|
cmd_line = u' '.join(cmd_args)
|
||||||
cmds = cmd_line.split(';')
|
cmds = cmd_line.split(';')
|
||||||
for cmd in cmds:
|
for cmd in cmds:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue