aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncsearch.nim
diff options
context:
space:
mode:
authorkitsunyan2018-04-29 13:44:59 +0000
committerkitsunyan2018-04-29 13:44:59 +0000
commit9525d77603309b81faa43b14137b0a48f7391850 (patch)
tree3d8d2ec858681606c2ec5b5228529208dda91039 /src/feature/syncsearch.nim
parent34fb7795b12ad3aade4905438f44c9be95d9d501 (diff)
Simplify arguments checking
Diffstat (limited to 'src/feature/syncsearch.nim')
-rw-r--r--src/feature/syncsearch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/syncsearch.nim b/src/feature/syncsearch.nim
index 7b2e77c..178a839 100644
--- a/src/feature/syncsearch.nim
+++ b/src/feature/syncsearch.nim
@@ -7,7 +7,7 @@ import
proc handleSyncSearch*(args: seq[Argument], config: Config): int =
let (_, callArgs) = checkAndRefresh(config.color, args)
- let quiet = args.check((some("q"), "quiet"))
+ let quiet = args.check(%%%"quiet")
let (aurPackages, aerrors) = findAurPackages(args.targets)
for e in aerrors: printError(config.color, e)