diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -81,8 +81,12 @@ func main() { iterAppend(f, sortmap) iterEnd(f, sortmap) - // make the foo.marshal.pb.go file - marshal(sortmap) + if argv.NoMarshal { + log.Info("not making marshal.pb.go file (--no-marshal == true)") + } else { + // make the foo.marshal.pb.go file + marshal(sortmap) + } } func headerComment(w io.Writer) { |
