diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -24,7 +24,7 @@ type args struct { GitFetch *FindCmd `arg:"subcommand:fetch" help:"run 'git fetch master'"` List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"` Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"` - GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` + GitPull *PullCmd `arg:"subcommand:pull" help:"run 'git pull'"` Sync *SyncCmd `arg:"subcommand:sync" help:"sync repos with upstream"` URL string `arg:"--connect" help:"forge url"` All bool `arg:"--all" help:"git commit --all"` @@ -67,6 +67,10 @@ type PatchCmd struct { Submit string `arg:"--submit" help:"submit your commits"` } +type PullCmd struct { + Test *EmptyCmd `arg:"subcommand:test" help:"list repos that need 'git pull'"` +} + type ConfigAddCmd struct { Path string `arg:"--path" help:"absolute path of the git repo"` GoPath string `arg:"--gopath" help:"GO path of the git repo"` |
