mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 17:35:46 +01:00
Remove the command Args dependency from a few straggling completers.
--HG-- extra : rebase_source : 12e642050a248dc0a33164d6757e925c9339a760
This commit is contained in:
@@ -408,7 +408,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
|
||||
{
|
||||
names: ["-host", "-h"],
|
||||
description: "Only sanitize items referring to listed host or hosts",
|
||||
completer: function (context, args) {
|
||||
completer: function (context) {
|
||||
let hosts = context.filter.split(",");
|
||||
context.advance(context.filter.length - hosts.pop().length);
|
||||
context.filters.push(function (item)
|
||||
|
||||
Reference in New Issue
Block a user