summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-01 18:23:38 -0500
committerJeff Carr <[email protected]>2025-07-01 18:23:38 -0500
commitd2a0aa3098e48d32f41abf0a90340543775366d7 (patch)
tree4bf550ac018ba21cdf1224c8160bd0df30c77417 /argv.go
parent47b7222445a382445e7a5d8ced74ebeec17810ec (diff)
more doFind() cleanups
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"`