Skip to content

Commit

Permalink
Remove the cobra init useless help toggle flag
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper committed Sep 12, 2023
1 parent 0d07411 commit 1fed086
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func init() {
if err := viper.BindPFlag("config", rootCmd.PersistentFlags().Lookup("config")); err != nil {
fmt.Printf("error binding root pflag 'config': %v\n", err)
}
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
rootCmd.AddCommand(accountCmd)
rootCmd.AddCommand(Applications())
rootCmd.AddCommand(Backups())
Expand Down

0 comments on commit 1fed086

Please sign in to comment.