Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-5736 | feat: Make auth and device code flags visible #604

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cmd/ocm/login/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func init() {
"Login using OAuth Authorization Code. This should be used for most cases where a "+
"browser is available.",
)
flags.MarkHidden("use-auth-code")
flags.BoolVar(
&args.useDeviceCode,
"use-device-code",
Expand All @@ -161,7 +160,6 @@ func init() {
"This should only be used for remote hosts and containers where browsers are "+
"not available. Use auth code for all other scenarios.",
)
flags.MarkHidden("use-device-code")
}

func run(cmd *cobra.Command, argv []string) error {
Expand Down
Loading