Skip to content

Commit 652e14d

Browse files
committed
Fix: reverted nargs to +
1 parent 54077fa commit 652e14d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jureptool/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ def main():
10251025

10261026
# Parse arguments
10271027
parser = argparse.ArgumentParser(description="JuRepTool")
1028-
parser.add_argument("file", nargs="*", default="", help="File including list of running and recently-finished jobs or JSON file of a job")
1028+
parser.add_argument("file", nargs="+", default="", help="File including list of running and recently-finished jobs or JSON file of a job")
10291029
parser.add_argument("--daemon", default=False, action="store_true" , help="Run as a 'daemon', i.e., in an infinite loop")
10301030
parser.add_argument("--demo", default=False, action="store_true" , help="Run in 'demo' mode (hide usernames, project id and job names)")
10311031
parser.add_argument("--nomove", default=False, action="store_true" , help="Don't copy files to final location")

0 commit comments

Comments
 (0)