diff --git a/internal/directories/directories.go b/internal/directories/directories.go index 97ef1b82..f40fb1f2 100644 --- a/internal/directories/directories.go +++ b/internal/directories/directories.go @@ -2,7 +2,6 @@ package directories import ( "errors" - "fmt" "log" "os" "path/filepath" @@ -53,18 +52,6 @@ func initDir(dir *string, basePath string, methodName string) { } } -func PrintDirectories() { - data := DataDir() - cfg := ConfigDir() - state := StateDir() - - fmt.Printf("Config directory: \t%s\n", cfg) - if data != cfg || state != cfg { - fmt.Printf("Mailbox directory:\t%s\n", data) - fmt.Printf("Logs directory: \t%s\n", state) - } -} - func MigrateLegacyDataDir() { if f, err := os.Stat(ConfigDir()); err != nil && f.IsDir() { debug.Printf("new config directory %s already exists, we have already migrated", ConfigDir()) diff --git a/main.go b/main.go index 42c705b6..2d4f70de 100644 --- a/main.go +++ b/main.go @@ -145,7 +145,6 @@ var commands = []Command{ Desc: "Print the application version", HandleFunc: func(args []string) { fmt.Printf("%s %s\n", buildinfo.AppName, buildinfo.VersionString()) - directories.PrintDirectories() }, }, {