Skip to content

Commit

Permalink
Chef - Add choices for device arg
Browse files Browse the repository at this point in the history
  • Loading branch information
cpagravel committed Jun 16, 2022
1 parent a75b65b commit 62fb15d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def main(argv: Sequence[str]) -> None:
parser.add_option("-g", "--zapgui", help="runs zap GUI display to allow editing of data model",
action="store_true", dest="do_run_gui")
parser.add_option("-d", "--device", dest="sample_device_type_name",
help="specifies device type. Default is lighting. See info above for supported device types", metavar="TARGET", default="lighting")
help="specifies device type. Default is lighting. See info above for supported device types",
metavar="TARGET", choices=_DEVICE_LIST)
parser.add_option("-t", "--target", type='choice',
action='store',
dest="build_target",
Expand Down

0 comments on commit 62fb15d

Please sign in to comment.