src/cli/command.rs: fix ReST output format
This commit is contained in:
parent
9f46c7de4b
commit
79bc7345e8
@ -90,7 +90,7 @@ fn generate_usage_str(
|
|||||||
format!("{}{}{}{}\n\n{}\n\n", indent, prefix, args, option_indicator, description)
|
format!("{}{}{}{}\n\n{}\n\n", indent, prefix, args, option_indicator, description)
|
||||||
}
|
}
|
||||||
DocumentationFormat::ReST => {
|
DocumentationFormat::ReST => {
|
||||||
format!("``{} {}{}``\n\n{}\n\n", prefix, args.trim(), option_indicator, description)
|
format!("``{}{}{}``\n\n{}\n\n", prefix, args, option_indicator, description)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user