1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 05:26:16 +01:00

'osc rq list' now defaults to 'new,review' instead of only 'new'.

Usage now mentions 'review' too.
This commit is contained in:
Juergen Weigert 2011-02-22 19:13:59 +01:00
parent f06b39fb40
commit 83cadd7157

View File

@ -1604,8 +1604,8 @@ 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' otherwise
help='only list requests in one of the comma separated given states (new/accepted/revoked/declined) or "all" [default=new, or all, if no args given]')
@cmdln.option('-s', '--state', default='', # default is 'all' if no args given, '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]')
@cmdln.option('-U', '--user', metavar='USER',
@ -1724,7 +1724,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
opts.state = 'all'
if opts.state == '':
opts.state = 'new'
opts.state = 'new,review'
if args[0] == 'help':
return self.do_help(['help', 'request'])