We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6972ccd commit 569c872Copy full SHA for 569c872
internal/cmd/auth/get-access-token/get_access_token.go
@@ -67,6 +67,13 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
67
}
68
},
69
70
+
71
+ // hide project id flag from help command because it cloud mislaed users
72
+ cmd.SetHelpFunc(func(command *cobra.Command, strings []string) {
73
+ command.Flags().MarkHidden(globalflags.ProjectIdFlag)
74
+ command.Parent().HelpFunc()(command, strings)
75
+ })
76
77
return cmd
78
79
0 commit comments