Skip to content

Commit 11b8bfd

Browse files
committed
Remove dev gunk
1 parent 445e0ae commit 11b8bfd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cmd/root.go

-7
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,8 @@ func Execute() {
5555
func init() {
5656
cobra.OnInitialize(initConfig, initLogger)
5757

58-
// Here you will define your flags and configuration settings.
59-
// Cobra supports persistent flags, which, if defined here,
60-
// will be global for your application.
6158
RootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.php-fpm_exporter.yaml)")
6259
RootCmd.PersistentFlags().StringVar(&logLevel, "log.level", "info", "Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]")
63-
64-
// Cobra also supports local flags, which will only run
65-
// when this action is called directly.
66-
RootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
6760
}
6861

6962
// initConfig reads in config file and ENV variables if set.

0 commit comments

Comments
 (0)