make Nim always show the current year

This commit is contained in:
Andreas Rumpf
2016-01-19 09:42:00 +01:00
parent a121c3f9eb
commit faea0f9a70

View File

@@ -53,7 +53,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo)
const
HelpMessage = "Nim Compiler Version $1 (" & CompileDate & ") [$2: $3]\n" &
"Copyright (c) 2006-2015 by Andreas Rumpf\n"
"Copyright (c) 2006-" & CompileDate.substr(0, 3) & " by Andreas Rumpf\n"
const
Usage = slurp"doc/basicopt.txt".replace("//", "")