control-panel-dns/args.go

26 lines
537 B
Go
Raw Normal View History

2023-02-08 11:04:04 -06:00
// This creates a simple hello world window
package main
import (
"git.wit.org/wit/gui"
"git.wit.org/jcarr/dnssecsocket"
2023-02-08 11:04:04 -06:00
)
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"`
2023-02-08 11:04:04 -06:00
}
var args struct {
LogOptions
dnssecsocket.Args
2023-02-08 11:04:04 -06:00
gui.GuiArgs
}
func parsedown () {
dnssecsocket.Parse(args.VerboseDnssec)
}