summaryrefslogtreecommitdiff
path: root/args.go
blob: 8884f6cdcc47869480e6f6c3ab429d32a6ec1e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package repostatus

/*
	this enables command line options from other packages like 'gui' and 'log'
*/

import (
	"go.wit.com/log"
)

var INFO *log.LogFlag
var WARN *log.LogFlag
var CHANGE *log.LogFlag

func init() {
	full := "go.wit.com/lib/gui/repostatus"
	short := "repostatus"

	INFO = log.NewFlag("INFO", false, full, short, "general repo things")
	WARN = log.NewFlag("WARN", true, full, short, "bad things")
	CHANGE = log.NewFlag("CHANGE", true, full, short, "when repo changes")
}