From a85c083a9232c99c890ea35dc125130086eb0471 Mon Sep 17 00:00:00 2001 From: Audrey Petit Date: Tue, 28 Oct 2025 14:04:11 +0000 Subject: [PATCH] Adding double quotes with escape character Adding double quotes with escape character, to avoid issue with documentation when user copy/paste the command. --- .../azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py | 2 +- .../azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py | 2 +- .../azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py index e5f381ed733..851f90289e9 100644 --- a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py +++ b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_list.py @@ -56,7 +56,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.expand = AAZStrArg( options=["--expand"], - help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'", + help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'", ) _args_schema.filters = AAZStrArg( options=["--filters"], diff --git a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py index 4457a3fbdc8..4c0bd63f26d 100644 --- a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py +++ b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_show.py @@ -59,7 +59,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.expand = AAZStrArg( options=["--expand"], - help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'", + help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'", ) return cls._args_schema diff --git a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py index a63294dbb30..29cf02b8a65 100644 --- a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/_wait.py @@ -57,7 +57,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.expand = AAZStrArg( options=["--expand"], - help="Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'", + help="Specify the $expand query. Example: '\"properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)\"'", ) return cls._args_schema