mirror of
https://codeberg.org/scip/gfn.git
synced 2025-12-16 10:20:57 +01:00
fix #2: do not print status info if unrequested
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user