aboutsummaryrefslogtreecommitdiff
path: root/src/pacman.nim
diff options
context:
space:
mode:
authorkitsunyan2018-04-29 21:01:25 +0000
committerkitsunyan2018-04-29 21:01:25 +0000
commit5f7f4f2d713025f05cbc240323b6fe47bb6dbe24 (patch)
treec67d82e2a19f101f6815fdb20bc97cf3e825076a /src/pacman.nim
parent10e4e09cfc70730c1206e420d9bb337d37939b30 (diff)
Add PKGBUILD retrieving
Diffstat (limited to 'src/pacman.nim')
-rw-r--r--src/pacman.nim7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pacman.nim b/src/pacman.nim
index f5df4e4..f9e921c 100644
--- a/src/pacman.nim
+++ b/src/pacman.nim
@@ -142,7 +142,8 @@ const
o("y", "refresh") + g(syncInstall, syncSearch, syncQuery),
$o("n", "build") + g(syncInstall),
$(^o("keyserver")) + g(syncInstall),
- $o("noaur") + g(syncInstall)
+ $o("noaur") + g(syncInstall),
+ $o("z", "source") + g()
]
databaseOptions*: seq[CommandOption] = @[
@@ -177,7 +178,9 @@ const
("asdeps", @["asexplicit"]),
("build", @["nodeps", "assume-installed", "dbonly", "clean",
"groups", "info", "list", "search", "sysupgrade", "downloadonly"]),
- ("keyserver", @["clean", "groups", "info", "list", "search"])
+ ("keyserver", @["clean", "groups", "info", "list", "search"]),
+ ("source", @["clean", "groups", "info", "list", "search", "sysupgrade",
+ "downloadonly", "build", "keyserver", "noaur"])
]
allConflictingOptions = syncConflictingOptions