1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-03-01 13:42:12 +01:00

Merge pull request #1411 from andreas-schwab/master

service: do not reject documented 'r' abbreviation for 'run'
This commit is contained in:
Daniel Mach 2023-09-25 09:28:01 +02:00 committed by GitHub
commit d1dcf6e63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7663,7 +7663,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
self.argparse_error("Please specify a command")
command = args.pop(0)
if command not in ("runall", "ra", "run", "localrun", "manualrun", "disabledrun", "remoterun", "lr", "dr", "mr", "rr", "merge", "wait"):
if command not in ("runall", "ra", "run", "localrun", "manualrun", "disabledrun", "remoterun", "lr", "dr", "mr", "r", "rr", "merge", "wait"):
self.argparse_error(f"Invalid command: {command}")
if command in ("localrun", "lr"):