diff --git a/osc/commandline.py b/osc/commandline.py index ae1f2e58..ff12d8a6 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1871,11 +1871,11 @@ Please submit there instead, or use --nodevelproject to force direct submission. if args[0] == 'help': return self.do_help(['help', 'request']) - cmds = [ 'list', 'log', 'show', 'decline', 'reopen', 'clone', 'accept', 'approvenew', 'wipe', 'setincident', 'supersede', 'revoke', 'checkout', 'co' ] + cmds = ['list', 'log', 'show', 'decline', 'reopen', 'clone', 'accept', 'approvenew', 'wipe', 'setincident', 'supersede', 'revoke', 'checkout', 'co'] if subcmd != 'review' and args[0] not in cmds: raise oscerr.WrongArgs('Unknown request action %s. Choose one of %s.' \ % (args[0],', '.join(cmds))) - cmds = [ 'list', 'add', 'decline', 'accept', 'reopen', 'supersede' ] + cmds = ['show', 'list', 'add', 'decline', 'accept', 'reopen', 'supersede'] if subcmd == 'review' and args[0] not in cmds: raise oscerr.WrongArgs('Unknown review action %s. Choose one of %s.' \ % (args[0],', '.join(cmds)))