fix #2: do not print status info if unrequested

This commit is contained in:
2024-09-25 10:54:25 +02:00
parent 972bb003d5
commit c2883384fe
2 changed files with 1 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ var Templates = map[string]string{
} }
const ( const (
VERSION string = "0.0.2" VERSION string = "0.0.3"
DefaultCount int = 160 // number of words to generate if -c is omitted DefaultCount int = 160 // number of words to generate if -c is omitted
DefaultColumns int = 10 // number of columns to print DefaultColumns int = 10 // number of columns to print
MaxWidth int = 72 // max width of output, adjusts columns MaxWidth int = 72 // max width of output, adjusts columns

View File

@@ -55,8 +55,6 @@ func Generate(conf *Config) ([]string, error) {
} }
} }
fmt.Println("fetched names")
slog.Debug("Generated fantasy names from code", slog.Debug("Generated fantasy names from code",
"code", conf.Code, "count-names", len(reg)) "code", conf.Code, "count-names", len(reg))