cmd: Unify the push coding style

- Use 'flags' for the subcommand FlagSet
- Use %v to print errors
- Use 'path' for the path
- Fix cases where the 'path' refers to a different directory
- Don't use CamelCase for command line options

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2017-06-15 16:35:56 -07:00
parent 684b77d62b
commit 2f212e6c74
6 changed files with 68 additions and 67 deletions

View File

@@ -34,7 +34,7 @@ This will output a `azure.vhd` image.
To deploy the `azure.vhd` image on Azure, invoke the following command:
```
linuxkit run azure --resourceGroupName <resource-goup-name> --accountName <storageaccountname> --location westeurope <path-to-your-azure.vhd>
linuxkit run azure --resource-group <resource-group-name> --storage-account <storage-account-name> --location westeurope <path-to-your-azure.vhd>
```
Sample output of the command: