From f280b16b1b0b812d7c950329bc4ecf132b49dacc Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 3 Jun 2019 14:18:16 +0200 Subject: [PATCH] Make arguments optional --- wrapper/ocr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrapper/ocr b/wrapper/ocr index c6886e4..177fab5 100755 --- a/wrapper/ocr +++ b/wrapper/ocr @@ -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()