From 9525d77603309b81faa43b14137b0a48f7391850 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sun, 29 Apr 2018 16:44:59 +0300 Subject: Simplify arguments checking --- src/feature/syncsearch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/syncsearch.nim') 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) -- cgit v1.2.3-70-g09d2