2
我试图做一些很基本的字符串格式化和我立刻卡住格式化。基本字符串NIM
这段代码有什么问题?
import strutils
import parseopt2
for kind, key, val in getopt():
echo "$1 $2 $3" % [kind, key, val]
我得到Error: type mismatch: got (TaintedString) but expected 'CmdLineKind = enum'
,但我不明白,我应如何解决它。