aboutsummaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.nim')
-rw-r--r--src/config.nim6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/config.nim b/src/config.nim
index abcf376..42b9b70 100644
--- a/src/config.nim
+++ b/src/config.nim
@@ -14,12 +14,14 @@ type
debug*: bool
progressBar*: bool
verbosePkgList*: bool
+ pgpKeyserver*: Option[string]
ignorePkgs*: HashSet[string]
ignoreGroups*: HashSet[string]
PacmanConfig* = object of CommonConfig
rootOption*: Option[string]
dbOption*: Option[string]
+ gpgOption*: Option[string]
colorMode*: ColorMode
Config* = object of CommonConfig
@@ -118,8 +120,8 @@ proc obtainConfig*(config: PacmanConfig): Config =
let viewNoDefault = options.hasKey("ViewNoDefault")
Config(root: root, db: db, tmpRoot: tmpRoot, color: color,
- dbs: config.dbs, arch: config.arch, debug: config.debug,
- progressBar: config.progressBar, verbosePkgList: config.verbosePkgList,
+ dbs: config.dbs, arch: config.arch, debug: config.debug, progressBar: config.progressBar,
+ verbosePkgList: config.verbosePkgList, pgpKeyserver: config.pgpKeyserver,
ignorePkgs: config.ignoreGroups, ignoreGroups: config.ignoreGroups,
aurComments: aurComments, checkIgnored: checkIgnored,
printAurNotFound: printAurNotFound, viewNoDefault: viewNoDefault)