From b2321b0ded6f4a9803daf9dbcbd88d56321a9305 Mon Sep 17 00:00:00 2001 From: zqqw Date: Sun, 19 Jul 2020 15:44:34 +0100 Subject: Fix map error & some warnings --- src/args.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.nim') 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: -- cgit v1.2.3-70-g09d2