From 8369e527e33c83ab26d927efb29a90e1c2700915 Mon Sep 17 00:00:00 2001 From: adewaleo Date: Mon, 20 Aug 2018 12:54:46 -0700 Subject: [PATCH] Run command help issue (#7101) * Updated az vm run-command help. * Added links to more info in vm run-command's help. --- .../azure-cli-vm/azure/cli/command_modules/vm/_help.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py index a26b11538aa..fa4205e0471 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py +++ b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py @@ -1246,12 +1246,13 @@ helps['vm run-command'] = """ type: group - short-summary: Manage run commands on a Virtual Machine + short-summary: Manage run commands on a Virtual Machine. + long-summary: 'For more information, see https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command or https://docs.microsoft.com/en-us/azure/virtual-machines/linux/run-command.' """ helps['vm run-command invoke'] = """ type: command - short-summary: run command on a vm + short-summary: Execute a specific run command on a vm. examples: - name: install nginx on a vm text: az vm run-command invoke -g MyResourceGroup -n MyVm --command-id RunShellScript --scripts "sudo apt-get update && sudo apt-get install -y nginx"