diff options
| author | Jeff Carr <[email protected]> | 2024-02-20 06:53:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-20 06:53:42 -0600 |
| commit | 14b2fbb00bbff263f52d4a170397129cbb05046e (patch) | |
| tree | a470aa72d9b3098fd182352226f55593017679b7 /flags.go | |
| parent | 5bf1c5ff359e2546925bb2de2bd2a3f887d252ab (diff) | |
moving go.* processing here
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flags.go b/flags.go new file mode 100644 index 0000000..86b2652 --- /dev/null +++ b/flags.go @@ -0,0 +1,20 @@ +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") + REPOWARN = log.NewFlag("REPOWARN", true, full, short, "general repo things") +} |
