From 07887858990602356cc748f949b280fdc3e2d48e Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Mon, 22 Aug 2022 18:24:00 -0400 Subject: [PATCH] Mark zap_file argument required in zap_cluster_list.py This avoids a type error when the script is run with no arguments. --- src/app/zap_cluster_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/zap_cluster_list.py b/src/app/zap_cluster_list.py index bf61468e3fcc2b..8076186eb14566 100755 --- a/src/app/zap_cluster_list.py +++ b/src/app/zap_cluster_list.py @@ -242,6 +242,7 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument('--zap_file', help='Path to .zap file', + required=True, type=pathlib.Path) args = parser.parse_args()