Skip to content

Commit be23c6c

Browse files
authored
[lab] Fix #7903 Help updated (az lab vm): Add double quotes with escape character to --expand (#32354)
1 parent 6c8e672 commit be23c6c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5656
)
5757
_args_schema.expand = AAZStrArg(
5858
options=["--expand"],
59-
help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
59+
help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'",
6060
)
6161
_args_schema.filters = AAZStrArg(
6262
options=["--filters"],

src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5959
)
6060
_args_schema.expand = AAZStrArg(
6161
options=["--expand"],
62-
help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
62+
help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'",
6363
)
6464
return cls._args_schema
6565

src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5757
)
5858
_args_schema.expand = AAZStrArg(
5959
options=["--expand"],
60-
help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
60+
help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'",
6161
)
6262
return cls._args_schema
6363

0 commit comments

Comments
 (0)