repolist/flags.go

21 lines
384 B
Go
Raw Permalink Normal View History

2024-02-20 06:53:42 -06:00
package repolist
/*
this enables command line options from other packages like 'gui' and 'log'
*/
import (
"go.wit.com/log"
)
var REPO *log.LogFlag
2025-01-07 18:53:10 -06:00
var WARN *log.LogFlag
2024-02-20 06:53:42 -06:00
func init() {
full := "go.wit.com/lib/gui/repo"
short := "repo"
REPO = log.NewFlag("REPO", false, full, short, "general repo things")
2025-01-07 18:53:10 -06:00
WARN = log.NewFlag("REPOWARN", true, full, short, "repo warnings")
2024-02-20 06:53:42 -06:00
}