summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index 94d047c..7615b74 100644
--- a/argv.go
+++ b/argv.go
@@ -19,6 +19,8 @@ type args struct {
NoSort bool `arg:"--no-sort" help:"do not make a sort.pb.go file"`
Mutex bool `arg:"--mutex" help:"try mutex hack (breaks proto.Marshal()"`
DryRun bool `arg:"--dry-run" help:"show what would be run"`
+ GoSrc string `arg:"--go-src" help:"default is ~/go/src. could be set to your go.work path"`
+ GoPath string `arg:"--gopath" help:"the gopath of this repo"`
}
func (a args) Description() string {