summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-10 04:37:54 -0600
committerJeff Carr <[email protected]>2025-01-10 04:37:54 -0600
commitd9e5edb3a8486bc884841137095dd910e42b3a98 (patch)
treee4ef81c86db853d1747f515c198129d27c4a6600 /argv.go
parent88e4359cdec41a29750586202b15fa2dabb89e55 (diff)
hotfixv0.0.40
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/argv.go b/argv.go
index 7357f6b..676e67e 100644
--- a/argv.go
+++ b/argv.go
@@ -9,13 +9,14 @@ package main
var argv args
type args struct {
- Package string `arg:"--package" help:"the package name"`
- Proto string `arg:"--proto" help:"the .proto filename"`
- Mutex bool `arg:"--mutex" default:"true" help:"insert a mutex into protoc .pb.go file"`
- Delete bool `arg:"--delete" help:"use delete with copy experiment"`
- 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"`
+ Package string `arg:"--package" help:"the package name"`
+ Proto string `arg:"--proto" help:"the .proto filename"`
+ Mutex bool `arg:"--mutex" default:"true" help:"insert a mutex into protoc .pb.go file"`
+ Delete bool `arg:"--delete" help:"use delete with copy experiment"`
+ 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"`
+ Identify string `arg:"--identify" help:"identify file"`
}
func (a args) Description() string {