Skip to content

Commit

Permalink
Run command help issue (Azure#7101)
Browse files Browse the repository at this point in the history
* Updated az vm run-command help.

* Added links to more info in vm run-command's help.
  • Loading branch information
adewaleo authored and tjprescott committed Aug 20, 2018
1 parent f4ab52e commit 8369e52
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8369e52

Please sign in to comment.