diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 15:03:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 15:03:12 -0500 |
| commit | a28318fbcb3aad0681c7e0f72a35cafc049750d9 (patch) | |
| tree | 0ae94eda5c0d81e78b1aba998f8b49722ba68ab3 /argv.go | |
| parent | 21313117b70fe7aba836d4ffc57ae60b29bb695f (diff) | |
argv autocomplete improvementsv0.0.107
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ type args struct { ListPkgs *EmptyCmd `arg:"subcommand:list" help:"list all the packages on mirrors.wit.com"` Test *EmptyCmd `arg:"subcommand:test" help:"test build everything first"` Clone *EmptyCmd `arg:"subcommand:repomap-clone" help:"go-clone from a gowebd repomap"` - Upgrade *EmptyCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` + Upgrade *DefaultCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` RepoMap string `arg:"--repomap" help:"location of the repomap"` Release bool `arg:"--release" help:"use go-deb --release"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` @@ -86,7 +86,7 @@ func (args) Appname() string { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"--bash", "build", "debian", "install", "macos"}) + pb.Autocomplete3([]string{"--bash", "build", "debian", "install", "upgrade", "macos", "--witcom"}) } else { pb.SubCommand(pb.Argv...) } |
