complex command typos and add dash between argument and desciptions

This commit is contained in:
Greg Van Liew
2018-07-13 15:28:11 -07:00
parent e89ed6eb3a
commit 98ee779cc9
4 changed files with 7 additions and 7 deletions

View File

@@ -94,11 +94,11 @@ function _generateMarkdown(description: string | ICommandHandlerDescription): st
parts.push('\n\n');
if (description.args) {
for (let arg of description.args) {
parts.push(`* _${arg.name}_ ${arg.description || ''}\n`);
parts.push(`* _${arg.name}_ - ${arg.description || ''}\n`);
}
}
if (description.returns) {
parts.push(`* _(returns)_ ${description.returns}`);
parts.push(`* _(returns)_ - ${description.returns}`);
}
parts.push('\n\n');
return parts.join('');