repolist/flags.go

21 lines
392 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
var REPOWARN *log.LogFlag
func init() {
full := "go.wit.com/lib/gui/repo"
short := "repo"
REPO = log.NewFlag("REPO", false, full, short, "general repo things")
2024-02-20 18:55:50 -06:00
REPOWARN = log.NewFlag("REPOWARN", true, full, short, "repo warnings")
2024-02-20 06:53:42 -06:00
}