summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 06:34:27 -0600
committerJeff Carr <[email protected]>2024-12-17 06:34:27 -0600
commit84c25d74da64460dc9c92cc05f78d288d3f8f59f (patch)
tree80b2809f3678c156eaa421079f3d93e7f3cb0c17 /argv.go
parent50cafc85178b8fee356c6b3b0ac38e0a110841e1 (diff)
lots of fixes in gitpbv0.0.31
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 {