From e265f0d736234796a938faf887dc3d2275b885a9 Mon Sep 17 00:00:00 2001 From: Jing-song Date: Mon, 13 Nov 2023 16:13:14 +0800 Subject: [PATCH 1/3] Remove duplicate descriptions --- .../azure/cli/command_modules/resource/_help.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/resource/_help.py b/src/azure-cli/azure/cli/command_modules/resource/_help.py index 955877fb564..2aa5cb2f06e 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_help.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_help.py @@ -70,7 +70,6 @@ helps['account management-group tenant-backfill get'] = """ type: command short-summary: Get the backfill status for a tenant. -long-summary: Get the backfill status for a tenant. examples: - name: Get the backfill status for a tenant. text: > @@ -80,7 +79,6 @@ helps['account management-group tenant-backfill start'] = """ type: command short-summary: Start backfilling subscriptions for a tenant. -long-summary: Start backfilling subscriptions for a tenant. examples: - name: Start backfilling subscriptions for a tenant. text: > @@ -90,7 +88,6 @@ helps['account management-group check-name-availability'] = """ type: command short-summary: Check if a Management Group Name is Valid. -long-summary: Check if a Management Group Name is Valid. parameters: - name: --name -n type: string @@ -104,7 +101,6 @@ helps['account management-group create'] = """ type: command short-summary: Create a new management group. -long-summary: Create a new management group. parameters: - name: --name -n type: string @@ -133,7 +129,6 @@ helps['account management-group delete'] = """ type: command short-summary: Delete an existing management group. -long-summary: Delete an existing management group. parameters: - name: --name -n type: string @@ -188,7 +183,6 @@ helps['account management-group subscription add'] = """ type: command short-summary: Add a subscription to a management group. -long-summary: Add a subscription to a management group. parameters: - name: --name -n type: string @@ -205,7 +199,6 @@ helps['account management-group subscription show'] = """ type: command short-summary: Show the details of a subscription under a known management group. -long-summary: Show the details of a subscription under a known management group. parameters: - name: --name -n type: string @@ -222,7 +215,6 @@ helps['account management-group subscription show-sub-under-mg'] = """ type: command short-summary: Get the subscription under a management group. -long-summary: Get the subscription under a management group. parameters: - name: --name -n type: string @@ -241,7 +233,6 @@ helps['account management-group entities list'] = """ type: command short-summary: List all entities for the authenticated user. -long-summary: List all entities for the authenticated user. examples: - name: List all entities for the authenticated user. text: > @@ -251,7 +242,6 @@ helps['account management-group subscription remove'] = """ type: command short-summary: Remove an existing subscription from a management group. -long-summary: Remove an existing subscription from a management group. parameters: - name: --name -n type: string @@ -268,7 +258,6 @@ helps['account management-group update'] = """ type: command short-summary: Update an existing management group. -long-summary: Update an existing management group. parameters: - name: --name -n type: string @@ -299,7 +288,6 @@ helps['account management-group hierarchy-settings create'] = """ type: command short-summary: Create hierarchy settings defined at the Management Group level. -long-summary: Create hierarchy settings defined at the Management Group level. parameters: - name: --name -n type: string @@ -328,7 +316,6 @@ helps['account management-group hierarchy-settings list'] = """ type: command short-summary: Get all the hierarchy settings defined at the Management Group level. -long-summary: Get all the hierarchy settings defined at the Management Group level. parameters: - name: --name -n type: string @@ -342,7 +329,6 @@ helps['account management-group hierarchy-settings delete'] = """ type: command short-summary: Delete the hierarchy settings defined at the Management Group level. -long-summary: Delete the hierarchy settings defined at the Management Group level. parameters: - name: --name -n type: string @@ -356,7 +342,6 @@ helps['account management-group hierarchy-settings update'] = """ type: command short-summary: Update the hierarchy settings defined at the Management Group level. -long-summary: Update the hierarchy settings defined at the Management Group level. parameters: - name: --name -n type: string From c47f0a8b7f9004fe2963742b7592b808d67eed74 Mon Sep 17 00:00:00 2001 From: Jing-song Date: Tue, 14 Nov 2023 11:27:07 +0800 Subject: [PATCH 2/3] Update _help.py --- src/azure-cli/azure/cli/command_modules/resource/_help.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/resource/_help.py b/src/azure-cli/azure/cli/command_modules/resource/_help.py index 2aa5cb2f06e..3239a5015b5 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_help.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_help.py @@ -141,8 +141,7 @@ helps['account management-group list'] = """ type: command -short-summary: List all management groups. -long-summary: List of all management groups in the current tenant. +short-summary: List of all management groups in the current tenant. examples: - name: List all management groups text: > @@ -151,8 +150,7 @@ helps['account management-group show'] = """ type: command -short-summary: Get a specific management group. -long-summary: Get the details of the management group. +short-summary: Get the details of the management group. parameters: - name: --name -n type: string From f457a1786dfbccde00274e62d2125ac72137f6dd Mon Sep 17 00:00:00 2001 From: Jing-song Date: Tue, 14 Nov 2023 11:38:37 +0800 Subject: [PATCH 3/3] Update _help.py --- src/azure-cli/azure/cli/command_modules/resource/_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/resource/_help.py b/src/azure-cli/azure/cli/command_modules/resource/_help.py index 3239a5015b5..5202c20de46 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_help.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_help.py @@ -141,7 +141,7 @@ helps['account management-group list'] = """ type: command -short-summary: List of all management groups in the current tenant. +short-summary: List all management groups in the current tenant. examples: - name: List all management groups text: > @@ -2717,7 +2717,7 @@ type: group short-summary: Bicep CLI command group. long-summary: | - Bicep CLI command group. There are two configurations that can be set for the command group, including bicep.check_version and bicep.use_binary_from_path: + There are two configurations that can be set for the command group, including bicep.check_version and bicep.use_binary_from_path: [1] az config set bicep.check_version=True/False Turn on/off Bicep CLI version check when executing az bicep commands.