Skip to content

Commit

Permalink
Mark zap_file argument required in zap_cluster_list.py (#22090)
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 authored and pull[bot] committed Oct 26, 2023
1 parent 6eb443c commit 4295107
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 4295107

Please sign in to comment.