Skip to content

Commit 0cd2d0a

Browse files
Fix -static-token flag help text
Co-authored-by: Riddhi Shah <[email protected]>
1 parent 3e9a358 commit 0cd2d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/consul-dataplane/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func init() {
7777
flag.StringVar(&partition, "service-partition", "", "The Consul Enterprise partition in which the proxy service instance is registered.")
7878

7979
flag.StringVar(&credentialType, "credential-type", "", "The type of credentials that will be used to authenticate with Consul servers (static or login).")
80-
flag.StringVar(&token, "static-token", "", "The ACL token used to authenticate requests to Consul servers (when -login-method is set to static).")
80+
flag.StringVar(&token, "static-token", "", "The ACL token used to authenticate requests to Consul servers (when -credential-type is set to static).")
8181
flag.StringVar(&loginMethod, "login-method", "", "The auth method that will be used to log in.")
8282
flag.StringVar(&loginNamespace, "login-namespace", "", "The Consul Enterprise namespace containing the auth method.")
8383
flag.StringVar(&loginPartition, "login-partition", "", "The Consul Enterprise partition containing the auth method.")

0 commit comments

Comments
 (0)