summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-23 10:52:17 -0600
committerJeff Carr <[email protected]>2024-01-23 10:52:17 -0600
commit294119e7c2678b609aa8b66b6ffc219f1c399309 (patch)
tree1a0b9e7de365e6540d0b3f9cc762a852472e32f6 /args.go
parent7546209d24055bb1252ba3cab63e09f692c3e74b (diff)
buttons for scanning .git/config and go.sum
common branch handling scan go.sum & .git/config on New() parse go & git config files cleaner debugging cleaning up logging Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
-rw-r--r--args.go14
1 files changed, 2 insertions, 12 deletions
diff --git a/args.go b/args.go
index 8cea172..8884f6c 100644
--- a/args.go
+++ b/args.go
@@ -8,25 +8,15 @@ import (
"go.wit.com/log"
)
-var NOW *log.LogFlag
var INFO *log.LogFlag
-
-var SPEW *log.LogFlag
var WARN *log.LogFlag
-
var CHANGE *log.LogFlag
-var STATUS *log.LogFlag
func init() {
- full := "go.wit.com/gui/gadgets/repostatus"
+ full := "go.wit.com/lib/gui/repostatus"
short := "repostatus"
- NOW = log.NewFlag("NOW", true, full, short, "temp debugging stuff")
- INFO = log.NewFlag("INFO", false, full, short, "normal debugging stuff")
-
+ INFO = log.NewFlag("INFO", false, full, short, "general repo things")
WARN = log.NewFlag("WARN", true, full, short, "bad things")
- SPEW = log.NewFlag("SPEW", false, full, short, "spew stuff")
-
CHANGE = log.NewFlag("CHANGE", true, full, short, "when repo changes")
- STATUS = log.NewFlag("STATUS", false, full, short, "current status")
}