diff options
-rw-r--r-- | src/pacman.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pacman.nim b/src/pacman.nim index b8c62b5..1db5738 100644 --- a/src/pacman.nim +++ b/src/pacman.nim @@ -349,8 +349,10 @@ proc obtainPacmanConfig*(args: seq[Argument]): PacmanConfig = let debug = args.check((none(string), "debug")) let progressBar = not args.check((none(string), "noprogressbar")) - let ignorePkgs = getAll((none(string), "ignore")).toSet - let ignoreGroups = getAll((none(string), "ignoregroups")).toSet + let ignorePkgs = lc[x | (y <- getAll((none(string), "ignore")), + x <- y.split(',')), string].toSet + let ignoreGroups = lc[x | (y <- getAll((none(string), "ignoregroups")), + x <- y.split(',')), string].toSet let hasKeyserver = forkWaitRedirect(() => (block: dropPrivileges() |