Procházet zdrojové kódy

Display available azure cloud names in azure login help

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif před 4 roky
rodič
revize
f08488d64d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.ClientID, "client-id", "", "Client ID 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
 }