src/cli/command.rs: improve help command description
This commit is contained in:
parent
2f6ecc1ccd
commit
bca6d9120a
|
@ -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()
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue