diff --git a/osc/commandline.py b/osc/commandline.py index 43edf409..a3723c5c 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1747,7 +1747,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. help='all states. Same as\'-s all\'') @cmdln.option('-f', '--force', action='store_true', help='enforce state change, can be used to ignore open reviews') - @cmdln.option('-s', '--state', default='', # default is 'all' if no args given, 'new,review' otherwise + @cmdln.option('-s', '--state', default='', # default is 'all' if no args given, 'declined,new,review' otherwise help='only list requests in one of the comma separated given states (new/review/accepted/revoked/declined) or "all" [default="new,review", or "all", if no args given]') @cmdln.option('-D', '--days', metavar='DAYS', help='only list requests in state "new" or changed in the last DAYS. [default=%(request_list_days)s]') @@ -1871,7 +1871,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. opts.state = 'all' if opts.state == '': - opts.state = 'new,review' + opts.state = 'declined,new,review' if args[0] == 'help': return self.do_help(['help', 'request'])