From 9bbdcc763da1059b8cb9cb96179be6dd278f9f47 Mon Sep 17 00:00:00 2001 From: Adrian Woodley Date: Tue, 23 Jul 2019 02:38:35 +0800 Subject: [PATCH] Add 'required' to infile --- aviat_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aviat_config.py b/aviat_config.py index 8cb205d..5c818c6 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") +ARG_PARSER.add_argument('--in', action="store", dest="in_file", 'required') 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()