From 2c8a813b714020681df1261af8937c1a106937f5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 10:42:12 -0600 Subject: fix mutex marshal nil panic --- argv.go | 1 + 1 file changed, 1 insertion(+) (limited to 'argv.go') 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"` } -- cgit v1.2.3