Skip to content

Commit

Permalink
fix ar issue on help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Mar 16, 2024
1 parent 60e846f commit 662954c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/address-resolver/address-resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import (
)

func init() {
var helpflag bool
commands.RootCmd.SetUsageTemplate(help)
commands.RootCmd.PersistentFlags().BoolVarP(&helpflag, "help", "h", false, "help for dmsgpty-cli")
commands.RootCmd.SetHelpCommand(&cobra.Command{Hidden: true})
commands.RootCmd.PersistentFlags().MarkHidden("help") //nolint
}
Expand Down

0 comments on commit 662954c

Please sign in to comment.