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/common.nim | |
parent | b4f8782ab5ca934dac8f1c6dad52fbb3755dc005 (diff) |
Filter necessary arguments only
Diffstat (limited to 'src/common.nim')
-rw-r--r-- | src/common.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.nim b/src/common.nim index b00b482..daa7897 100644 --- a/src/common.nim +++ b/src/common.nim @@ -37,7 +37,7 @@ proc checkAndRefresh*(color: bool, args: seq[Argument]): tuple[code: int, args: let refreshCount = args.count(%%%"refresh") if refreshCount > 0: let code = pacmanRun(true, color, args - .keepOnlyOptions(commonOptions, upgradeCommonOptions) & + .keepOnlyOptions(commonOptions, transactionOptions, upgradeOptions) & ("S", none(string), ArgumentType.short) & ("y", none(string), ArgumentType.short).repeat(refreshCount)) |