diff options
| author | Jeff Carr <[email protected]> | 2025-09-10 22:45:01 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-10 22:45:01 -0500 |
| commit | 209ee29773f910e3b1274725e7e40edee40cb535 (patch) | |
| tree | 934c0d5eaf9bfc7500a6aabcfa4b56b8121ad2f5 /argv.go | |
| parent | 43d653a8c040d68a4386d1fc1cc7cfa18ce34e83 (diff) | |
minor fixes
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -18,11 +18,12 @@ type args struct { Gui *EmptyCmd `arg:"subcommand:gui" help:"show gui"` Merge *EmptyCmd `arg:"subcommand:merge" help:"merge in new patchsets"` Init *EmptyCmd `arg:"subcommand:init" help:"init the repo list"` - Port int `arg:"--port" default:"2520" help:"port to run on"` - Hostname string `arg:"--hostname" default:"forge.wit.com" help:"hostname to use"` - Daemon bool `arg:"--daemon" help:"run as a daemon"` - Force bool `arg:"--force" help:"try to strong arm things"` - Verbose bool `arg:"--verbose" help:"show more output"` + Repos *EmptyCmd `arg:"subcommand:repos" help:"show the repos"` + Port int `arg:"--port" default:"2520" help:"port to run on"` + Hostname string `arg:"--hostname" help:"hostname to use"` + Daemon bool `arg:"--daemon" help:"run as a daemon"` + Force bool `arg:"--force" help:"try to strong arm things"` + Verbose bool `arg:"--verbose" help:"show more output"` } type EmptyCmd struct { @@ -38,7 +39,7 @@ func (a args) DoAutoComplete(argv []string) { case "merge": fmt.Println("--force") default: - fmt.Println("list merge") + fmt.Println("list merge repos") } os.Exit(0) } |
