mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2025-01-13 20:00:35 +00:00
Make arguments optional
This commit is contained in:
parent
b5ba154f86
commit
f280b16b1b
@ -15,12 +15,12 @@ parser = argparse.ArgumentParser(add_help=False)
|
||||
parser.add_argument(
|
||||
'-i',
|
||||
dest='input_dir',
|
||||
required=True
|
||||
required=False
|
||||
)
|
||||
parser.add_argument(
|
||||
'-o',
|
||||
dest='output_dir',
|
||||
required=True
|
||||
required=False
|
||||
)
|
||||
args, remaining_args = parser.parse_known_args()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user