diff options
author | kitsunyan | 2018-05-05 22:26:16 +0000 |
---|---|---|
committer | kitsunyan | 2018-05-05 22:26:16 +0000 |
commit | 4a77d1764aabb854b0ed873180461fe7b25f8a36 (patch) | |
tree | 4f6e7b9e7390d8864faf2626981b0151cf7b78b6 /src/feature/syncinstall.nim | |
parent | b4f8782ab5ca934dac8f1c6dad52fbb3755dc005 (diff) |
Filter necessary arguments only
Diffstat (limited to 'src/feature/syncinstall.nim')
-rw-r--r-- | src/feature/syncinstall.nim | 5 |
1 files changed, 4 insertions, 1 deletions
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 |