summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/argv.go b/argv.go
index 97541a2..2b69e9a 100644
--- a/argv.go
+++ b/argv.go
@@ -9,13 +9,13 @@ package main
var argv args
type args struct {
- Repo string `arg:"positional" help:"go import path"`
- NoWork bool `arg:"--no-work" default:"true" help:"do not make or modify the go.work file"`
- GoSrc bool `arg:"--go-src" default:"true" help:"only work in ~/go/src"`
- DryRun bool `arg:"--dry-run" help:"show what would be run"`
- Recursive bool `arg:"--recursive" default:"false" help:"resursively clone all dependencies"`
- Pull bool `arg:"--pull" default:"false" help:"run 'git pull' on all your repos"`
- // Fetch bool `arg:"--fetch" default:"false" help:"run 'git fetch' on all your repos"`
+ Repo string `arg:"positional" help:"go import path"`
+ AutoWork bool `arg:"--auto-work" default:"false" help:"auto recreate the go.work file"`
+ GoSrc bool `arg:"--go-src" default:"true" help:"only work in ~/go/src"`
+ DryRun bool `arg:"--dry-run" help:"show what would be run"`
+ Recursive bool `arg:"--recursive" default:"false" help:"resursively clone all dependencies"`
+ Pull bool `arg:"--git-pull" default:"false" help:"run 'git pull' on all your repos"`
+ // Fetch bool `arg:"--git-fetch" default:"false" help:"run 'git fetch' on all your repos"`
}
func (a args) Description() string {