Commit ca1803ab authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Mark required arguments in scripts as required

parent 4518ca1c
......@@ -20,7 +20,7 @@ parser.add_argument(
required=True
)
args = parser.parse_args()
print(args)
for input_file in args.input_file:
input_files = []
......
......@@ -12,7 +12,8 @@ import re
parser = ArgumentParser(description='Convert hOCR to TEI XML.')
parser.add_argument(
'-i', '--input-file',
help='Input file'
help='Input file',
required=True
)
parser.add_argument(
'-o', '--output-file',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment