Merge pull request #1388 from gtardif/aci_cloud_names_in_help

Display available azure cloud names in azure login help
This commit is contained in:
Guillaume Tardif 2021-03-03 16:10:44 +01:00 committed by GitHub
commit 29df866075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}