Skip to content

Commit e9d2a53

Browse files
authored
[Monitor] az monitor action-group create: Adjust formatting of --actions help message (#29747)
* Update action_groups.py
1 parent be4af71 commit e9d2a53

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/azure-cli/azure/cli/command_modules/monitor/operations/action_groups.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def _build_arguments_schema(cls, *args, **kwargs):
144144
args_schema.receiver_actions = AAZCustomListArg(
145145
options=["--actions"],
146146
singular_options=["--action", "-a"],
147-
help="Add receivers to the action group during the creation." + '''
147+
help='''
148+
Add receivers to the action group during the creation.
148149
Usage: --action TYPE NAME [ARG ...]
149150
Email:
150151
Format: --action email NAME EMAIL_ADDRESS [usecommonalertschema]
@@ -225,7 +226,8 @@ def _build_arguments_schema(cls, *args, **kwargs):
225226
args_schema.receiver_actions = AAZCustomListArg(
226227
options=["--add-actions"],
227228
singular_options=["--add-action", "-a"],
228-
help="Add receivers to the action group." + '''
229+
help='''
230+
Add receivers to the action group.
229231
Usage: --add-action TYPE NAME [ARG ...]
230232
Email:
231233
Format: --add-action email NAME EMAIL_ADDRESS [usecommonalertschema]
@@ -356,7 +358,8 @@ def _build_arguments_schema(cls, *args, **kwargs):
356358
args_schema.receiver_actions = AAZCustomListArg(
357359
options=["--add-actions"],
358360
singular_options=["--add-action", "-a"],
359-
help="Add receivers to the action group." + '''
361+
help='''
362+
Add receivers to the action group.
360363
Usage: --add-action TYPE NAME [ARG ...]
361364
Email:
362365
Format: --add-action email NAME EMAIL_ADDRESS [usecommonalertschema]

0 commit comments

Comments
 (0)