blob: 41fe820234afdc27d929b7b728dbd6539e529853 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// This creates a simple hello world window
package main
import (
"git.wit.org/wit/gui"
"git.wit.org/jcarr/dnssecsocket"
)
type LogOptions struct {
Verbose bool
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)
}
|