Skip to content

Commit

Permalink
Mark zap_file argument required in zap_cluster_list.py (project-chip#…
Browse files Browse the repository at this point in the history
…22090)

This avoids a type error when the script is run with no arguments.
  • Loading branch information
mspang authored and isiu-apple committed Sep 16, 2022
1 parent c85913c commit f8accd3
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 f8accd3

Please sign in to comment.