From 1941c31108c66853cd894c553e5d5876bd368432 Mon Sep 17 00:00:00 2001 From: Adrian Woodley Date: Tue, 23 Jul 2019 02:39:15 +0800 Subject: [PATCH] Fixed 'required' --- aviat_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aviat_config.py b/aviat_config.py index 5c818c6..bf57b57 100755 --- a/aviat_config.py +++ b/aviat_config.py @@ -26,7 +26,7 @@ VLAN = 4095 ARG_PARSER = argparse.ArgumentParser( description='Scriptable configuration of Aviat Eclipse INUes.') -ARG_PARSER.add_argument('--in', action="store", dest="in_file", 'required') +ARG_PARSER.add_argument('--in', action="store", dest="in_file", required=True) ARG_PARSER.add_argument('--out', action="store", dest="out_file", default="passed.csv") ARG_PARSER.add_argument('--area', action="store", dest="ospf_area", default=None) arguments = ARG_PARSER.parse_args()