Skip to content

Commit

Permalink
Merge pull request #1411 from andreas-schwab/master
Browse files Browse the repository at this point in the history
service: do not reject documented 'r' abbreviation for 'run'
  • Loading branch information
dmach committed Sep 25, 2023
2 parents d0c80e7 + f788db0 commit d1dcf6e
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"):
self.argparse_error(f"Invalid command: {command}")

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

0 comments on commit d1dcf6e

Please sign in to comment.