Skip to content

Commit

Permalink
main: add "-y" alias for the "--retry" arg
Browse files Browse the repository at this point in the history
It's just a bit more convenient than typing "--retry" every time.
  • Loading branch information
wwade committed Sep 15, 2022
1 parent 3fd2c56 commit 8acd517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobrunner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def parseArgs(args=None):
op.add_argument("-c", "--command", metavar="CMD",
help="Specify complete bash command to execute "
"(argument to bash -c)")
op.add_argument("--retry", metavar="KEY", action="store",
op.add_argument("--retry", "-y", metavar="KEY", action="store",
help="Retry job specified by KEY")
op.add_argument(
"-r",
Expand Down

0 comments on commit 8acd517

Please sign in to comment.