diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -11,12 +11,13 @@ import "go.wit.com/log" var argv args type args struct { - Dir string `arg:"--dir" help:"defaults to ~/.config/virtigo/"` - Port int `arg:"--port" default:"8080" help:"specify a different default port"` - Hosts []string `arg:"--hosts" help:"hosts to connect to"` - Uptime bool `arg:"--uptime" default:"true" help:"allow uptime checks for things like Kuma"` - Daemon bool `arg:"--daemon" help:"run in daemon mode"` - Xml []string `arg:"--add-xml" help:"add libvirt xml files"` + Dir string `arg:"--dir" help:"defaults to ~/.config/virtigo/"` + Port int `arg:"--port" default:"8080" help:"specify a different default port"` + Hosts []string `arg:"--hosts" help:"hosts to connect to"` + Uptime bool `arg:"--uptime" default:"true" help:"allow uptime checks for things like Kuma"` + Daemon bool `arg:"--daemon" help:"run in daemon mode"` + Xml []string `arg:"--add-xml" help:"add libvirt xml files"` + Save bool `arg:"--save" default:"false" help:"save xml changes to the protobuf values"` } func (a args) Description() string { |
