1
0
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:
Kris Maglione
2011-02-13 10:18:29 -05:00
parent 6e6eac9709
commit 1d2965bebb
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}