diff options
author | zqqw | 2020-07-19 14:44:34 +0000 |
---|---|---|
committer | zqqw | 2020-07-19 14:44:34 +0000 |
commit | b2321b0ded6f4a9803daf9dbcbd88d56321a9305 (patch) | |
tree | 3a2768d9da3cc4349628974c5dd8cd3316656789 /src/args.nim | |
parent | d2030e0bf79d8a2252ae4750dbb0086bd06b72cb (diff) |
Fix map error & some warnings
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 9aca7aa..6da84fd 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.mapIt(some(it)) & none(string)) .foldl(buildArgs(a, b), (newSeq[ParseArgument](), false, false)) if cycle.stdinConsumed: |