fix --all default

This commit is contained in:
Jeff Carr 2025-09-25 01:49:00 -05:00
parent 4b7669ef7b
commit b2c434bf29
1 changed files with 5 additions and 5 deletions

10
argv.go
View File

@ -61,8 +61,8 @@ type NormalCmd struct {
} }
type CommitCmd struct { type CommitCmd struct {
Submit bool `arg:"--submit" default:"true" help:"submit the patches to forge"` // Submit bool `arg:"--submit" help:"submit the patches to forge"`
All bool `arg:"--all" default:"true" help:"git commit in all dirty repos"` All bool `arg:"--all" help:"git commit in all dirty repos"`
} }
type testCmd string type testCmd string
@ -126,9 +126,9 @@ type ConfigCmd struct {
type ConfigAddCmd struct { type ConfigAddCmd struct {
Path string `arg:"--path" help:"absolute path of the git repo"` Path string `arg:"--path" help:"absolute path of the git repo"`
GoPath string `arg:"--gopath" help:"GO path of the git repo"` GoPath string `arg:"--gopath" help:"GO path of the git repo"`
Directory bool `arg:"--directory" default:"false" help:"repo is a directory to match against"` Directory bool `arg:"--directory" help:"repo is a directory to match against"`
ReadOnly bool `arg:"--readonly" default:"false" help:"repo is readonly"` ReadOnly bool `arg:"--readonly" help:"repo is readonly"`
Writable bool `arg:"--writable" default:"false" help:"repo is writable"` Writable bool `arg:"--writable" help:"repo is writable"`
Favorite bool `arg:"--favorite" default:"false" help:"forge will always go-clone or git clone this"` Favorite bool `arg:"--favorite" default:"false" help:"forge will always go-clone or git clone this"`
Private bool `arg:"--private" default:"false" help:"repo can not be published"` Private bool `arg:"--private" default:"false" help:"repo can not be published"`
Interesting bool `arg:"--interesting" default:"false" help:"something you decided was cool"` Interesting bool `arg:"--interesting" default:"false" help:"something you decided was cool"`