Skip to content

Commit

Permalink
took add oidc does not print flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Serdar committed Nov 16, 2018
1 parent e647964 commit 9d9c24c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proto/oidc/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ var oidcConnectWizard = []proto.SetupStep{
}}}

func init() {
oidcConnectCmd.SetUsageFunc(func(c *cobra.Command) error {
c.OutOrStderr().Write([]byte(`required flags are "callback-url", "clientId", "name", "secret", and one of "server" or "url"`))
return nil
})
// oidcConnectCmd.SetUsageFunc(func(c *cobra.Command) error {
// c.OutOrStderr().Write([]byte(`required flags are "callback-url", "clientId", "name", "secret", and one of "server" or "url"`))
// return nil
// })
cmd.AddCmd.AddCommand(oidcConnectCmd)
cmd.ModCmd.AddCommand(oidcConnectUpdateCmd)

Expand Down

0 comments on commit 9d9c24c

Please sign in to comment.