diff --git a/osc/commandline.py b/osc/commandline.py index e0c0f95a..204aa4c4 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -5388,7 +5388,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. elif not arg_repository: arg_repository = arg else: - raise oscerr.WrongArgs('unexpected argument: \'%s\'' % arg) + raise oscerr.WrongArgs('\'%s\' is neither a build description nor a supported arch' % arg) else: arg_repository, arg_arch, arg_descr = args