diff --git a/pkg/ddlctl/ddlctl.go b/pkg/ddlctl/ddlctl.go index 26d6b4b..657c4f7 100644 --- a/pkg/ddlctl/ddlctl.go +++ b/pkg/ddlctl/ddlctl.go @@ -80,6 +80,7 @@ func DDLCtl(ctx context.Context) error { Short: "gen", Usage: "ddlctl generate [options] --dialect ", Description: "generate DDL from source (file or directory) to destination (file or directory).", + Options: opts, RunFunc: generate.Command, }, {