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

add "?" as the argCount to commands with an optional single arg

This commit is contained in:
Doug Kearns
2008-12-01 11:45:25 +00:00
parent a4361e49f8
commit ead1babb4d
6 changed files with 15 additions and 4 deletions

View File

@@ -523,6 +523,7 @@ function Buffer() //{{{
window.stylesheetSwitchAll(window.content, args);
},
{
argCount: "?",
completer: function (context) completion.alternateStylesheet(context),
literal: 0
});