diff options
author | kitsunyan | 2020-04-26 05:15:57 +0000 |
---|---|---|
committer | kitsunyan | 2020-04-26 05:15:57 +0000 |
commit | 138b310de4badfc765151c5d31923ad9167b3a14 (patch) | |
tree | 7f4f78ddc5d8da032264ef6a8a0a58079f922011 /src/args.nim | |
parent | dcbeb5528fab8eed5e818ac1360c142fa647490f (diff) |
Fix warnings introduced in nim 1.2
Diffstat (limited to 'src/args.nim')
-rw-r--r-- | src/args.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.nim b/src/args.nim index 87fbaf3..ba734c1 100644 --- a/src/args.nim +++ b/src/args.nim @@ -132,7 +132,7 @@ proc splitArgs*(params: seq[string], else: input - let cycle: ParseCycle = (params.map(some) & none(string)) + let cycle: ParseCycle = (params.map(p => some(p)) & none(string)) .foldl(buildArgs(a, b), (newSeq[ParseArgument](), false, false)) if cycle.stdinConsumed: |