mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:32:30 +02:00
Fix :set foo?.
This commit is contained in:
1 parent
127ed4cfc2
commit
d86cb2b3df
1 file changed
+2
-2
@@ -685,7 +685,7 @@ var Options = Module("options", {
|
||||
scope = Option.SCOPE_BOTH;
|
||||
|
||||
function opts(opt) {
|
||||
for (let opt in Iterator(options)) {
|
||||
for (let opt in Iterator(this)) {
|
||||
let option = {
|
||||
__proto__: opt,
|
||||
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() {
|
||||
|
||||
Reference in new issue
Block a user