From 9b53b9970673c913775dee9f7294e1aa51c46b79 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Sat, 4 Feb 2023 15:52:27 +0800 Subject: [PATCH] Update CLI docs (#1446) --- sea-orm-cli/src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sea-orm-cli/src/cli.rs b/sea-orm-cli/src/cli.rs index 7958f996..c215b8a1 100644 --- a/sea-orm-cli/src/cli.rs +++ b/sea-orm-cli/src/cli.rs @@ -309,7 +309,7 @@ pub enum GenerateSubcommands { long, use_value_delimiter = true, takes_value = true, - help = "Add extra derive macros to generated model structs (comma separated), ex. `--derives 'ts_rs::Ts'`" + help = "Add extra derive macros to generated model struct (comma separated), e.g. `--model-extra-derives 'ts_rs::Ts','CustomDerive'`" )] model_extra_derives: Vec, @@ -318,7 +318,7 @@ pub enum GenerateSubcommands { long, use_value_delimiter = true, takes_value = true, - help = r#"Add extra attributes to generated model struct, no need for `#[]` (comma separated), ex. `--attributes 'serde(rename_all = "camelCase")','ts(export)'`"# + help = r#"Add extra attributes to generated model struct, no need for `#[]` (comma separated), e.g. `--model-extra-attributes 'serde(rename_all = "camelCase")','ts(export)'`"# )] model_extra_attributes: Vec, },