Update copyright year to 2021

This commit is contained in:
King_DuckZ 2021-05-28 23:18:05 +02:00
parent 7a40f9d31c
commit c4390ff59b
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ int main (string[] parArgs) {
writefln("%s home page: <%s>", BACKEND_NAME, BACKEND_WEBSITE); writefln("%s home page: <%s>", BACKEND_NAME, BACKEND_WEBSITE);
} }
else if (show_version) { else if (show_version) {
writefln("%s %d.%d Copyright © %d Michele \"King_DuckZ\" Santullo", PROGRAM_NAME, TIGERSUM_VERSION_MAJOR, TIGERSUM_VERSION_MINOR, COPYRIGHT_YEAR); writefln("%s %d.%d Copyright © %s Michele \"King_DuckZ\" Santullo", PROGRAM_NAME, TIGERSUM_VERSION_MAJOR, TIGERSUM_VERSION_MINOR, COPYRIGHT_YEAR);
writefln("Using the %s implementation by %s", BACKEND_NAME, BACKEND_AUTHOR); writefln("Using the %s implementation by %s", BACKEND_NAME, BACKEND_AUTHOR);
writeln(BACKEND_WEBSITE); writeln(BACKEND_WEBSITE);
writeln(); writeln();
@ -99,7 +99,7 @@ int main (string[] parArgs) {
} }
else if (show_license) { else if (show_license) {
writefln("%s - a command line utility to calculate the tiger hash from input.", PROGRAM_NAME); writefln("%s - a command line utility to calculate the tiger hash from input.", PROGRAM_NAME);
writefln("Copyright © %d Michele \"King_DuckZ\" Santullo", COPYRIGHT_YEAR); writefln("Copyright © %s Michele \"King_DuckZ\" Santullo", COPYRIGHT_YEAR);
writeln(); writeln();
writefln("%s is free software: you can redistribute it and/or modify", PROGRAM_NAME); writefln("%s is free software: you can redistribute it and/or modify", PROGRAM_NAME);
writeln("it under the terms of the GNU General Public License as published by"); writeln("it under the terms of the GNU General Public License as published by");

View file

@ -1,7 +1,7 @@
const ushort TIGER_VERSION_DEF = @DEFAULT_TIGER_VERSION@; const ushort TIGER_VERSION_DEF = @DEFAULT_TIGER_VERSION@;
const ushort TIGERSUM_VERSION_MAJOR = @TIGERSUM_MAJOR@; const ushort TIGERSUM_VERSION_MAJOR = @TIGERSUM_MAJOR@;
const ushort TIGERSUM_VERSION_MINOR = @TIGERSUM_MINOR@; const ushort TIGERSUM_VERSION_MINOR = @TIGERSUM_MINOR@;
const ushort COPYRIGHT_YEAR = 2014; const string COPYRIGHT_YEAR = "2014-2021";
const string PROGRAM_NAME = "@PROJECT_NAME@"; const string PROGRAM_NAME = "@PROJECT_NAME@";
const string BACKEND_WEBSITE = "@BACKEND_WEBSITE@"; const string BACKEND_WEBSITE = "@BACKEND_WEBSITE@";
const string BACKEND_NAME = "@BACKEND_NAME@"; const string BACKEND_NAME = "@BACKEND_NAME@";