1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

service: do not reject documented 'r' abbreviation for 'run'

This commit is contained in:
2023-09-19 16:32:13 +02:00
parent d0c80e71a9
commit f788db0d97

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"):