From 4a77d1764aabb854b0ed873180461fe7b25f8a36 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sun, 6 May 2018 01:26:16 +0300 Subject: Filter necessary arguments only --- src/feature/syncinstall.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/feature') diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim index 3b61eea..89fc90c 100644 --- a/src/feature/syncinstall.nim +++ b/src/feature/syncinstall.nim @@ -738,7 +738,10 @@ proc handleInstall(args: seq[Argument], config: Config, upgradeCount: int, clearPaths(initialPaths) directCode else: - let commonArgs = args.keepOnlyOptions(commonOptions, upgradeCommonOptions) + let commonArgs = args + .keepOnlyOptions(commonOptions, transactionOptions, upgradeOptions) + .filter(true, false, %%%"asdeps", %%%"asexplicit", %%%"needed") + let (resolveSuccess, satisfied, additionalPacmanTargets, basePackages, dependencyPaths) = resolveDependencies(config, pkgInfos, additionalPkgInfos, false, directSome, noaur) let paths = initialPaths & dependencyPaths -- cgit v1.2.3-70-g09d2