Przeglądaj źródła

Merge pull request #1388 from gtardif/aci_cloud_names_in_help

Display available azure cloud names in azure login help
Guillaume Tardif 4 lat temu
rodzic
commit
29df866075
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      cli/cmd/login/azurelogin.go

+ 1 - 1
cli/cmd/login/azurelogin.go

@@ -40,7 +40,7 @@ func AzureLoginCommand() *cobra.Command {
 	flags.StringVar(&opts.TenantID, "tenant-id", "", "Specify tenant ID to use")
 	flags.StringVar(&opts.TenantID, "tenant-id", "", "Specify tenant ID to use")
 	flags.StringVar(&opts.ClientID, "client-id", "", "Client ID for Service principal login")
 	flags.StringVar(&opts.ClientID, "client-id", "", "Client ID for Service principal login")
 	flags.StringVar(&opts.ClientSecret, "client-secret", "", "Client secret for Service principal login")
 	flags.StringVar(&opts.ClientSecret, "client-secret", "", "Client secret for Service principal login")
-	flags.StringVar(&opts.CloudName, "cloud-name", "", "Name of a registered Azure cloud")
+	flags.StringVar(&opts.CloudName, "cloud-name", "", "Name of a registered Azure cloud [AzureCloud | AzureChinaCloud | AzureGermanCloud | AzureUSGovernment] (AzureCloud by default)")
 
 
 	return cmd
 	return cmd
 }
 }