sea-orm-cli showing help message when no sub-command provided
This commit is contained in:
parent
de7524e502
commit
47bb5b3ad7
@ -40,4 +40,5 @@ pub fn build_cli() -> App<'static, 'static> {
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.setting(AppSettings::VersionlessSubcommands)
|
||||
.subcommand(entity_subcommand)
|
||||
.setting(AppSettings::SubcommandRequiredElseHelp)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user