From 5b3725096f9c5c1ec06aa432d4223b1f4de10c81 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 29 Mar 2012 19:33:41 +0200 Subject: [PATCH] - fixed #754774 ("'osc service rr' optional arguments don't work; doesn't match 'remoterun'") --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 983ee7e3..e894d1ca 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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: