From c4390ff59b8bb71b4ec1b89208fb81cd3e6d7d7a Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 28 May 2021 23:18:05 +0200 Subject: [PATCH] Update copyright year to 2021 --- src/main.d | 4 ++-- src/tigersumConfig.d.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.d b/src/main.d index 2eddf43..7708002 100644 --- a/src/main.d +++ b/src/main.d @@ -89,7 +89,7 @@ int main (string[] parArgs) { writefln("%s home page: <%s>", BACKEND_NAME, BACKEND_WEBSITE); } 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); writeln(BACKEND_WEBSITE); writeln(); @@ -99,7 +99,7 @@ int main (string[] parArgs) { } else if (show_license) { 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(); 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"); diff --git a/src/tigersumConfig.d.in b/src/tigersumConfig.d.in index 816aae2..48f349f 100644 --- a/src/tigersumConfig.d.in +++ b/src/tigersumConfig.d.in @@ -1,7 +1,7 @@ const ushort TIGER_VERSION_DEF = @DEFAULT_TIGER_VERSION@; const ushort TIGERSUM_VERSION_MAJOR = @TIGERSUM_MAJOR@; 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 BACKEND_WEBSITE = "@BACKEND_WEBSITE@"; const string BACKEND_NAME = "@BACKEND_NAME@";