Skip to content

Commit

Permalink
Update cmd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Oct 3, 2023
1 parent c718c77 commit 74c92fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pysqa/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pysqa.utils.execute import execute_command


def command_line(argv=None, execute_command=execute_command):
def command_line(arguments_lst=None, execute_command=execute_command):
"""
Parse the command line arguments.
Expand All @@ -25,11 +25,11 @@ def command_line(argv=None, execute_command=execute_command):
run_time_max = None
command = None
job_id = None
if argv is None:
argv = sys.argv[1:]
if arguments_lst is None:
arguments_lst = sys.argv[1:]
try:
opts, args = getopt.getopt(
argv,
arguments_lst,
"f:pq:j:w:n:m:t:b:c:ri:dslh",
[
"config_directory=",
Expand Down

0 comments on commit 74c92fd

Please sign in to comment.