summaryrefslogtreecommitdiff
path: root/args.go
blob: 0206c5a2ba5b43d39a53678b04e69f709d1d9486 (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
26
// 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"`
	Display string `arg:"env:DISPLAY"`
}

var args struct {
	LogOptions
	dnssecsocket.Args
	gui.GuiArgs
}

func parsedown () {
	dnssecsocket.Parse(args.VerboseDnssec)
}