summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index a4ca2ad..17e1500 100644
--- a/argv.go
+++ b/argv.go
@@ -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"`