1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 19:14:12 +01:00

fix the mapping usage string to only show the primary command

This commit is contained in:
Doug Kearns
2007-05-31 06:45:46 +00:00
parent a90d422d46
commit 4406c23944

View File

@@ -20,7 +20,7 @@ function Map(mode, cmds, act, extra_info)
this.usage = "";
if (flags & vimperator.mappings.flags.COUNT)
this.usage = "{count}";
this.usage += this.commands;
this.usage += this.commands[0];
if (flags & vimperator.mappings.flags.ARGUMENT)
this.usage += " {arg}";
}