summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-01-19 09:42:00 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-01-19 09:42:00 +0100
commitfaea0f9a70ee8850191a1e7ab3cc0da0e3a2cf8f (patch)
tree82e304f4ff4fbabea9a78e9181f29c8d5194a585
parenta121c3f9eb2a348b9d6ae03ffd01aab26a238c30 (diff)
downloadNim-faea0f9a70ee8850191a1e7ab3cc0da0e3a2cf8f.tar.gz
make Nim always show the current year
-rw-r--r--compiler/commands.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index b38e52bc5..02c0b8486 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -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("//", "")