diff --git a/commands/doit.go b/commands/doit.go index 8b3b44af7..f4f42e23f 100644 --- a/commands/doit.go +++ b/commands/doit.go @@ -72,8 +72,6 @@ var ( func init() { var cfgFile string - initConfig() - rootPFlagSet := DoitCmd.PersistentFlags() rootPFlagSet.StringVarP(&cfgFile, "config", "c", filepath.Join(defaultConfigHome(), defaultConfigName), "Specify a custom config file")