diff options
| author | Jeff Carr <[email protected]> | 2025-03-09 07:07:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-09 07:07:41 -0500 |
| commit | 66000419bf15cb255e436db44a2a74bf104484e3 (patch) | |
| tree | 819327cff4db2f2e0e78e6f0caa575ea8e54968d /argv.go | |
| parent | eaedaded622316d3b59c2f3765cd2362e96ce54c (diff) | |
preliminary gui
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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 |
