1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 21:36:13 +01:00

- fixed #754774 ("'osc service rr' optional arguments don't work; doesn't match 'remoterun'")

This commit is contained in:
Marcus Huewe 2012-03-29 19:33:41 +02:00
parent e2aa5cc65c
commit 5b3725096f

View File

@ -5377,7 +5377,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
raise oscerr.WrongArgs('Too few arguments.')
if len(args) == 2:
singleservice = args[1]
elif len(args) == 3 and args[0] == 'remoterun':
elif len(args) == 3 and args[0] in ('remoterun', 'rr'):
project = args[1]
package = args[2]
else: