summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-09 07:07:41 -0500
committerJeff Carr <[email protected]>2025-03-09 07:07:41 -0500
commit66000419bf15cb255e436db44a2a74bf104484e3 (patch)
tree819327cff4db2f2e0e78e6f0caa575ea8e54968d /argv.go
parenteaedaded622316d3b59c2f3765cd2362e96ce54c (diff)
preliminary gui
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go12
1 files changed, 4 insertions, 8 deletions
diff --git a/argv.go b/argv.go
index 5808239..a66764d 100644
--- a/argv.go
+++ b/argv.go
@@ -9,26 +9,22 @@ package main
*/
import (
- "go.wit.com/dev/alexflint/arg"
"go.wit.com/log"
)
var argv args
type args struct {
- Daemon bool `arg:"--daemon" default:"false" help:"run in daemon mode"`
- Port int `arg:"--port" default:"2522" help:"port to run on"`
- URL string `arg:"--url" help:"url to use"`
+ Verbose bool `arg:"--verbose" help:"talk more"`
+ Daemon bool `arg:"--daemon" default:"false" help:"run in daemon mode"`
+ Port int `arg:"--port" default:"2522" help:"port to run on"`
+ URL string `arg:"--url" help:"url to use"`
}
func (args) Version() string {
return "gus " + VERSION + " Built on: " + BUILDTIME
}
-func init() {
- arg.MustParse(&argv)
-}
-
func (a args) Description() string {
return `
this daemon talks to zookeeper