From f8accd38e89b86c01bc7ad38c6560707be5ad20e Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Thu, 25 Aug 2022 13:20:42 -0400 Subject: [PATCH] Mark zap_file argument required in zap_cluster_list.py (#22090) 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()