mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 20:44:10 +01:00
add "?" as the argCount to commands with an optional single arg
This commit is contained in:
@@ -341,6 +341,7 @@ function Bookmarks() //{{{
|
||||
liberator.echo(deletedCount + " bookmark(s) with url `" + url + "' deleted", commandline.FORCE_SINGLELINE);
|
||||
},
|
||||
{
|
||||
argCount: "?",
|
||||
completer: function completer(context) completion.bookmark(context),
|
||||
literal: 0
|
||||
});
|
||||
@@ -660,6 +661,7 @@ function History() //{{{
|
||||
}
|
||||
},
|
||||
{
|
||||
argCount: "?",
|
||||
bang: true,
|
||||
completer: function completer(context)
|
||||
{
|
||||
@@ -712,6 +714,7 @@ function History() //{{{
|
||||
}
|
||||
},
|
||||
{
|
||||
argCount: "?",
|
||||
bang: true,
|
||||
completer: function completer(context)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user