1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 02:35:47 +01:00

Fix :viu!.

--HG--
extra : rebase_source : e9f4ea7ad0d59656167aeb2e0fca276c8375c8ee
This commit is contained in:
Kris Maglione
2010-12-03 17:30:53 -05:00
parent 349205aed1
commit 09bfc60446
4 changed files with 10 additions and 5 deletions

View File

@@ -1157,7 +1157,7 @@ const Dactyl = Module("dactyl", {
// show a usage index either in the MOW or as a full help page
showHelpIndex: function (tag, items, inMow) {
if (inMow)
dactyl.echo(template.usage(items), commandline.FORCE_MULTILINE);
commandline.commandOutput(template.usage(array(items).sort(function (a, b) String.localeCompare(a.name, b.name))));
else
dactyl.help(tag);
}