mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:57:59 +01:00
Fix :mkv for options with white space
This commit is contained in:
@@ -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