diff --git a/cmd/ormat/command/model.go b/cmd/ormat/command/model.go index b644e05..df2a298 100644 --- a/cmd/ormat/command/model.go +++ b/cmd/ormat/command/model.go @@ -128,6 +128,7 @@ func newModelCmd() *modelCmd { Version: version, PackageName: utils.GetPkgName(root.OutputDir), DisableDocComment: root.DisableDocComment, + Option: root.Option, } data, err := g.Gen().FormatSource() if err != nil {