Skip to content

Commit 779f3d0

Browse files
committed
Use correct argument for optional CLI argument in collect script
Fixes #32
1 parent 060c058 commit 779f3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/collect_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def dir_path(string):
2020
def main():
2121
parser = argparse.ArgumentParser()
2222
parser.add_argument("out_file")
23-
parser.add_argument("src_path", required=False, type=dir_path)
23+
parser.add_argument("src_path", nargs='?', type=dir_path)
2424
parser.add_argument("--raw", dest="raw", action="store_true")
2525
args = parser.parse_args()
2626

0 commit comments

Comments
 (0)