From b450cda9255e6fefe45dd9920ea4385b2e587cc7 Mon Sep 17 00:00:00 2001 From: tithakka Date: Fri, 1 Mar 2024 13:06:53 -0800 Subject: [PATCH] Make auth and device code flags visible --- cmd/ocm/login/cmd.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/ocm/login/cmd.go b/cmd/ocm/login/cmd.go index 49fabef1..128c72ef 100644 --- a/cmd/ocm/login/cmd.go +++ b/cmd/ocm/login/cmd.go @@ -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", @@ -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 {