summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
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)
+}