summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-23 00:54:37 -0500
committerJeff Carr <[email protected]>2024-10-23 00:54:37 -0500
commit889e7bb259a1cbc421671c9ea9ff21c7479b6122 (patch)
tree3826dc26b7c1cca4d9bd37cc9c507c688da9e883 /argv.go
parent62d406e0de0fcfe373ae45ed8920dc8a9e3e1034 (diff)
keep removing old junk
Signed-off-by: Jeff Carr <[email protected]>
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 {