diff options
| author | root <[email protected]> | 2025-10-02 15:14:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-02 15:17:24 -0500 |
| commit | 785e7102c58df7fdfe973a8f3ad8a7af2181e918 (patch) | |
| tree | 64d7891ea2e5952672a9c01dd454a92e54f22017 /argv.go | |
| parent | 5a7a894e385f0dfdb34bb87af97ad8a02099cccf (diff) | |
add repos update
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -114,9 +114,10 @@ type SubmitCmd struct { } type PullCmd struct { - Force bool `arg:"--force" help:"try to strong-arm things"` - List *EmptyCmd `arg:"subcommand:list" help:"list repo versions"` - Check *EmptyCmd `arg:"subcommand:check" help:"check for repo changes"` + Force bool `arg:"--force" help:"try to strong-arm things"` + List *EmptyCmd `arg:"subcommand:list" help:"list repo versions"` + Check *EmptyCmd `arg:"subcommand:check" help:"check for repo changes"` + Update *EmptyCmd `arg:"subcommand:update" help:"report updates"` } type TagCmd struct { @@ -205,7 +206,7 @@ func (args) Appname() string { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"checkout", "reset", "commit", "config", "gui", "merge", "normal", "patch", "pull", "show"}) + pb.Autocomplete3([]string{"checkout", "reset", "commit", "config", "gui", "merge", "normal", "patch", "pull", "show", "--version"}) } else { pb.SubCommand(pb.Argv...) } |
