Fix "help cmd" and "cmd refresh" in the Developer Toolbar

https://github.com/MoonchildProductions/moebius/pull/348
This commit is contained in:
janekptacijarabaci 2018-03-01 13:57:10 +01:00 committed by Roy Tam
commit fadd7deef2
3 changed files with 9 additions and 8 deletions

View file

@ -275,7 +275,7 @@ exports.items = [
' <div if="${command.isParent}">\n' +
' <p class="gcli-help-header">${l10n.subCommands}:</p>\n' +
' <ul class="gcli-help-${subcommands}">\n' +
' <li if="${subcommands.length === 0}">${l10n.subcommandsNone}</li>\n' +
' <li if="${subcommands.length === 0}">${l10n.subCommandsNone}</li>\n' +
' <li foreach="subcommand in ${subcommands}">\n' +
' ${subcommand.name}: ${subcommand.description}\n' +
' <span class="gcli-out-shortcut" data-command="help ${subcommand.name}"\n' +
@ -321,7 +321,7 @@ exports.items = [
'\n' +
'<span if="${command.isParent}"># ${l10n.subCommands}:</span>\n' +
'\n' +
'<span if="${subcommands.length === 0}">${l10n.subcommandsNone}</span>\n' +
'<span if="${subcommands.length === 0}">${l10n.subCommandsNone}</span>\n' +
'<loop foreach="subcommand in ${subcommands}">* ${subcommand.name}: ${subcommand.description}\n' +
'</loop>\n' +
'</div>\n',