mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-20 17:45:45 +01:00
Fix :set foo?.
This commit is contained in:
@@ -685,7 +685,7 @@ var Options = Module("options", {
|
|||||||
scope = Option.SCOPE_BOTH;
|
scope = Option.SCOPE_BOTH;
|
||||||
|
|
||||||
function opts(opt) {
|
function opts(opt) {
|
||||||
for (let opt in Iterator(options)) {
|
for (let opt in Iterator(this)) {
|
||||||
let option = {
|
let option = {
|
||||||
__proto__: opt,
|
__proto__: opt,
|
||||||
isDefault: opt.isDefault,
|
isDefault: opt.isDefault,
|
||||||
@@ -712,7 +712,7 @@ var Options = Module("options", {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
modules.commandline.commandOutput(template.options("Options", opts(), options["verbose"] > 0));
|
modules.commandline.commandOutput(template.options("Options", opts.call(this), this["verbose"] > 0));
|
||||||
},
|
},
|
||||||
|
|
||||||
cleanup: function cleanup() {
|
cleanup: function cleanup() {
|
||||||
|
|||||||
Reference in New Issue
Block a user