Skip to content

Commit 793d855

Browse files
maelvlsinteon
andcommitted
cmd-line: clarify the "auth missing" message by adding parentheses
Co-authored-by: Tim Ramlot <[email protected]>
1 parent ed9fb59 commit 793d855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/agent/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ func ValidateAndCombineConfig(log *log.Logger, cfg Config, flags AgentCmdFlags)
349349
log.Printf("Using the %s auth mode since --credentials-file was specified without --venafi-cloud.", mode)
350350
default:
351351
return CombinedConfig{}, nil, fmt.Errorf("no auth mode specified. You can use one of four auth modes:\n" +
352-
" - Use --venafi-cloud with --credentials-file or --client-id with --private-key-path to use the " + string(VenafiCloudKeypair) + " mode.\n" +
352+
" - Use (--venafi-cloud with --credentials-file) or (--client-id with --private-key-path) to use the " + string(VenafiCloudKeypair) + " mode.\n" +
353353
" - Use --venafi-connection for the " + string(VenafiCloudVenafiConnection) + " mode.\n" +
354354
" - Use --credentials-file alone if you want to use the " + string(JetstackSecureOAuth) + " mode.\n" +
355355
" - Use --api-token if you want to use the " + string(JetstackSecureAPIToken) + " mode.\n")

0 commit comments

Comments
 (0)