Skip to content

Commit

Permalink
service: do not reject documented 'r' abbreviation for 'run'
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-schwab committed Sep 19, 2023
1 parent d0c80e7 commit f788db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7663,7 +7663,7 @@ def do_service(self, subcmd, opts, *args):
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"):

Check warning on line 7666 in osc/commandline.py

View check run for this annotation

Codecov / codecov/patch

osc/commandline.py#L7666

Added line #L7666 was not covered by tests
self.argparse_error(f"Invalid command: {command}")

if command in ("localrun", "lr"):
Expand Down

0 comments on commit f788db0

Please sign in to comment.