mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 07:42:29 +01:00
Fix -tags option in command line generated by n_a. Closes issue #369.
This commit is contained in:
@@ -710,7 +710,9 @@ var Commands = Module("commands", {
|
||||
if (val != null && defaults[opt] === val)
|
||||
continue;
|
||||
let chr = /^-.$/.test(opt) ? " " : "=";
|
||||
if (val != null)
|
||||
if (isArray(val))
|
||||
opt += chr + Option.stringify.stringlist(val);
|
||||
else if (val != null)
|
||||
opt += chr + Commands.quote(val);
|
||||
res.push(opt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user