summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 10:42:12 -0600
committerJeff Carr <[email protected]>2024-12-01 10:42:12 -0600
commit2c8a813b714020681df1261af8937c1a106937f5 (patch)
tree43f5f71b80dc80f7b7c48548b5632a20c8e256a5 /argv.go
parent3261af8db398bfe9a224c3a5f5448981709258d1 (diff)
fix mutex marshal nil panicv0.0.7
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index 472425d..94d047c 100644
--- a/argv.go
+++ b/argv.go
@@ -17,6 +17,7 @@ type args struct {
Marshal []string `arg:"--marshal" help:"what to marshal on"`
NoMarshal bool `arg:"--no-marshal" help:"do not make a marshal.pb.go file"`
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"`
}