summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-12 10:14:50 -0600
committerJeff Carr <[email protected]>2024-02-12 10:14:50 -0600
commitbc01313a04ddb0cfe5eae72a0e04995765a53c84 (patch)
tree3c4b6a8fb779eb2c61c6216137d697ba7ed89705 /args.go
parent0949113167e0b37a4ba35637c3f6f6a2d0d14e8d (diff)
use standard debugger.gov0.21.0v0.20.7v0.20.6v0.20.5v0.20.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
-rw-r--r--args.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/args.go b/args.go
deleted file mode 100644
index 1c38249..0000000
--- a/args.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package main
-
-/*
- this parses the command line arguements
-
- this enables command line options from other packages like 'gui' and 'log'
-*/
-
-import (
- "go.wit.com/dev/alexflint/arg"
- "go.wit.com/lib/debugger"
- "go.wit.com/log"
-)
-
-var args struct {
- TmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
-}
-
-func init() {
- arg.MustParse(&args)
-
- if debugger.ArgDebug() {
- log.Info("cmd line --debugger == true")
- } else {
- log.Info("cmd line --debugger == false")
- }
-}