src/cli/command.rs: improve help command description

This commit is contained in:
Dietmar Maurer 2019-12-01 12:40:37 +01:00
parent 2f6ecc1ccd
commit bca6d9120a
1 changed files with 2 additions and 2 deletions

View File

@ -119,12 +119,12 @@ pub fn handle_nested_command(
const API_METHOD_COMMAND_HELP: ApiMethod = ApiMethod::new( const API_METHOD_COMMAND_HELP: ApiMethod = ApiMethod::new(
&ApiHandler::Sync(&help_command), &ApiHandler::Sync(&help_command),
&ObjectSchema::new( &ObjectSchema::new(
"Get help about specified command.", "Get help about specified command (or sub-command).",
&[ &[
( "command", ( "command",
true, true,
&ArraySchema::new( &ArraySchema::new(
"Command", "Command. This may be a list in order to spefify nested sub-commands.",
&StringSchema::new("Name.").schema() &StringSchema::new("Name.").schema()
).schema() ).schema()
), ),