Skip to content

Commit

Permalink
Remove hidden flags from gitops
Browse files Browse the repository at this point in the history
Flags exist now
  • Loading branch information
manno committed Nov 25, 2024
1 parent 20a5f13 commit 3474aa1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/cmd/controller/gitops/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ func App(zo *zap.Options) *cobra.Command {

// HelpFunc hides the global flag from the help output
func (c *GitOperator) HelpFunc(cmd *cobra.Command, strings []string) {
_ = cmd.Flags().MarkHidden("disable-metrics")
_ = cmd.Flags().MarkHidden("shard-id")
cmd.Parent().HelpFunc()(cmd, strings)
}

Expand Down

0 comments on commit 3474aa1

Please sign in to comment.