fix --all default
This commit is contained in:
parent
4b7669ef7b
commit
b2c434bf29
10
argv.go
10
argv.go
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue