summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-01 11:21:47 -0600
committerJeff Carr <[email protected]>2023-03-01 11:21:47 -0600
commit3ce3a39226bd6c0e738cdf76a55b05be1bad3cc3 (patch)
tree56d06a8768af58395d8be5027d770ca0d674e8a8 /args.go
parente517baeb87767d9d8abe276ff38b0d324561c3c3 (diff)
tagging against wit/gui v0.6.1
using Queue() for textbox fixes crashing (?) change TTL to 2 minutes gui debugging checkboxes make a dig test button Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'args.go')
-rw-r--r--args.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/args.go b/args.go
index 9a9680b..41fe820 100644
--- a/args.go
+++ b/args.go
@@ -3,19 +3,23 @@ package main
import (
"git.wit.org/wit/gui"
+ "git.wit.org/jcarr/dnssecsocket"
)
type LogOptions struct {
- LogFile string `help:"write all output to a file"`
Verbose bool
- VerboseNet bool `arg:"--verbose-net" help:"debug network settings"`
- VerboseDNS bool `arg:"--verbose-dns" help:"debug dns settings"`
- // GuiDebug bool `help:"open up the wit/gui Debugging Window"`
- // GuiDemo bool `help:"open the wit/gui Demo Window"`
- User string `arg:"env:USER"`
+ VerboseNet bool `arg:"--verbose-net" help:"debug your local OS network settings"`
+ VerboseDNS bool `arg:"--verbose-dns" help:"debug your dns settings"`
+ LogFile string `help:"write all output to a file"`
+ // User string `arg:"env:USER"`
}
var args struct {
LogOptions
+ dnssecsocket.Args
gui.GuiArgs
}
+
+func parsedown () {
+ dnssecsocket.Parse(args.VerboseDnssec)
+}