Skip to content

Commit 59dec35

Browse files
committed
fix: use store_true action instead of 3 state flag
1 parent 8a443fb commit 59dec35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/aks-preview/azext_aks_preview/_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,13 +3212,13 @@ def load_arguments(self, _):
32123212
c.argument(
32133213
"zone",
32143214
options_list=["--zone", "-z"],
3215-
arg_type=get_three_state_flag(),
3215+
action="store_true",
32163216
help="Show only VM SKUs that support availability zones.",
32173217
)
32183218
c.argument(
32193219
"show_all",
32203220
options_list=["--all"],
3221-
arg_type=get_three_state_flag(),
3221+
action="store_true",
32223222
help="Show all VM SKU information including those not available for the current subscription.",
32233223
)
32243224

0 commit comments

Comments
 (0)