diff options
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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) +} |
