From 6692ed0035e29f1f1f6784270ff2187c5f2f6799 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 9 Jan 2022 19:28:23 +0100 Subject: [PATCH] components/help: use bold for command name only --- components/help.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/help.js b/components/help.js index 1add27a..4ae3ecd 100644 --- a/components/help.js +++ b/components/help.js @@ -40,13 +40,13 @@ function CommandsHelp() { let l = Object.keys(commands).map((name) => { let cmd = commands[name]; - let usage = "/" + name; + let usage = [html`/${name}`]; if (cmd.usage) { - usage += " " + cmd.usage; + usage.push(" " + cmd.usage); } return html` -
${usage}
+
${usage}
${cmd.description}
`; });