mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 03:35:41 +02:00
Fix :mkv for options with white space
This commit is contained in:
1 parent
1969caca06
commit
aa27e686c8
1 file changed
+2
-2
@@ -743,8 +743,8 @@ function Options() //{{{
|
|||||||
serial: function () [
|
serial: function () [
|
||||||
{
|
{
|
||||||
command: this.name,
|
command: this.name,
|
||||||
literalArg: opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name
|
arguments: [opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name
|
||||||
: opt.name + "=" + opt.value
|
: opt.name + "=" + opt.value]
|
||||||
}
|
}
|
||||||
for (opt in options)
|
for (opt in options)
|
||||||
if (!opt.getter && opt.value != opt.defaultValue && (opt.scope & options.OPTION_SCOPE_GLOBAL))
|
if (!opt.getter && opt.value != opt.defaultValue && (opt.scope & options.OPTION_SCOPE_GLOBAL))
|
||||||
|
|||||||
Reference in new issue
Block a user