upd loglevel flag desc

This commit is contained in:
onyx-and-iris 2024-12-05 01:37:32 +00:00
parent 1ef43151b8
commit b981b962a2

View File

@ -20,7 +20,7 @@ var files embed.FS
func main() {
filename := flag.String("f", "input.txt", "input file")
loglevel := flag.Int("l", int(log.InfoLevel), "log level (shorthand)")
loglevel := flag.Int("l", int(log.InfoLevel), "log level")
flag.Parse()
if slices.Contains(log.AllLevels, log.Level(*loglevel)) {