Skip to content

Commit

Permalink
Mark zap_file argument required in zap_cluster_list.py
Browse files Browse the repository at this point in the history
This avoids a type error when the script is run with no arguments.
  • Loading branch information
mspang committed Aug 22, 2022
1 parent f68b948 commit 0788785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/zap_cluster_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0788785

Please sign in to comment.