Skip to content

Commit 8cbe5af

Browse files
committed
Renamed command argument to be camelCase
1 parent acb9c17 commit 8cbe5af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/smart_dispatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def main():
7777
if not utils.yes_no_prompt("Do you want to continue?", 'n'):
7878
exit()
7979

80-
if not args.only_pending:
80+
if not args.onlyPending:
8181
command_manager.reset_running_commands()
8282

8383
nb_commands = command_manager.get_nb_commands_to_run()
@@ -144,7 +144,7 @@ def parse_arguments():
144144
launch_parser.add_argument("commandAndOptions", help="Options for the commands.", nargs=argparse.REMAINDER)
145145

146146
resume_parser = subparsers.add_parser('resume', help="Resume jobs from batch UID.")
147-
resume_parser.add_argument('--only_pending', action='store_true', help='Resume only pending commands.')
147+
resume_parser.add_argument('--onlyPending', action='store_true', help='Resume only pending commands.')
148148
resume_parser.add_argument("batch_uid", help="Batch UID of the jobs to resume.")
149149

150150
args = parser.parse_args()

0 commit comments

Comments
 (0)