diff --git a/cmd/root.go b/cmd/root.go index 30a8a212..363f1865 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -66,9 +66,8 @@ func Execute() { } func initFuncs(cmd *cobra.Command, args []string) { - database(cmd, args) - - logLvlErr := logLevel(cmd, args) + database() + logLvlErr := logLevel() if logLvlErr != nil { log.Fatal("Could not set log level: ", logLvlErr) }