From 7aa41b88f69f59cc897a38b657c37587a0c2327c Mon Sep 17 00:00:00 2001 From: Ariel Mashraki <7413593+a8m@users.noreply.github.com> Date: Sun, 25 Oct 2020 15:55:26 +0200 Subject: [PATCH] doc/codegen: update entc command output (#881) --- doc/md/code-gen.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/md/code-gen.md b/doc/md/code-gen.md index 2773ddb9c..508464b14 100755 --- a/doc/md/code-gen.md +++ b/doc/md/code-gen.md @@ -88,10 +88,11 @@ Examples: entc generate github.com/a8m/x Flags: + --feature strings extend codegen with additional features --header string override codegen header -h, --help help for generate --idtype [int string] type of the id field (default int) - --storage strings list of storage drivers to support (default [sql]) + --storage string storage driver to support in codegen (default "sql") --target string target directory for codegen --template strings external templates to execute ``` @@ -228,4 +229,4 @@ func EnsureStructTag(name string) gen.Hook { }) } } -``` \ No newline at end of file +```