Switch from removed ERR proc for error reporting (#3)

This commit is contained in:
PMunch 2018-12-21 11:55:32 +01:00 committed by Mamy Ratsimbazafy
parent 489265955a
commit c3c344b756
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ proc argParse*(dst: var Licenses, key: string, val: string, help: string) =
incl(dst, supported_license)
isValid = true
if not isValid:
ERR("Wrong input license(s) for param \"$1\"\n$2, only MIT, Apachev2, GPLv2 and GPLv3 are supported." % [key, help])
stderr.write("Wrong input license(s) for param \"$1\"\n$2, only MIT, Apachev2, GPLv2 and GPLv3 are supported.\n" % [key, help])
proc argHelp*(dfl: Licenses, a: var ArgcvtParams): seq[string] =
result = @[a.argKeys, "Licenses", a.argDf $dfl]