aboutsummaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
authorj-james2020-12-23 20:52:52 +0000
committerj-james2020-12-23 20:52:52 +0000
commit855ba8396725812bee2bf975423700280d3044b1 (patch)
treec80ee79ba8b59c1745e32c2e39b8401d36e613cb /src/config.nim
parent0601052833bfb97cc178cdbd7aa150ecec4c7e5b (diff)
Add support for pacman's progress bar Easter eggzqqw
Diffstat (limited to 'src/config.nim')
-rw-r--r--src/config.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.nim b/src/config.nim
index 1afa89a..c43890a 100644
--- a/src/config.nim
+++ b/src/config.nim
@@ -18,6 +18,7 @@ type
arch: string,
debug: bool,
progressBar: bool,
+ chomp: bool,
verbosePkgLists: bool,
downloadTimeout: bool,
pgpKeyserver: Option[string],
@@ -178,8 +179,8 @@ proc obtainConfig*(config: PacmanConfig): Config =
[aurRepo, tra"wrong or NULL argument passed"], colorNeeded = some(color))
((config.common.dbs, config.common.arch, config.common.debug, config.common.progressBar,
- config.common.verbosePkgLists, config.common.downloadTimeout, config.common.pgpKeyserver,
- config.common.defaultRoot and config.sysrootOption.isNone,
+ config.common.chomp, config.common.verbosePkgLists, config.common.downloadTimeout,
+ config.common.pgpKeyserver, config.common.defaultRoot and config.sysrootOption.isNone,
config.common.ignorePkgs, config.common.ignoreGroups),
root, db, cache, userCacheInitial, userCacheCurrent, tmpRootInitial, tmpRootCurrent,
color, aurRepo, aurComments, checkIgnored, ignoreArch, printAurNotFound, printLocalIsNewer,