summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index 003f170..7c584b9 100644
--- a/argv.go
+++ b/argv.go
@@ -11,11 +11,11 @@ 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"`
- Port int `arg:"--port" default:"8080" help:"specify a different default port"`
Daemon bool `arg:"--daemon" help:"run in daemon mode"`
- Start string `arg:"--start" help:"droplet to start"`
}
func (a args) Description() string {