aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cmd.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index 092086fc..2f972329 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -52,15 +52,18 @@ inline auto Tr(const char* t) -> QString { return QCoreApplication::tr(t); }
auto PrintVersion() -> int {
QTextStream stream(stdout);
stream << GetProjectName() << " " << GetProjectVersion() << '\n';
- stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
+ stream << QString("Copyright (©) 2021-%1 Saturneric <[email protected]>")
+ .arg(QDate::currentDate().year())
+ << '\n'
<< Tr("This is free software; see the source for copying conditions.")
<< '\n'
<< '\n';
- stream << Tr("Build DateTime: ")
+ stream << Tr("Build Date & Time: ")
<< QLocale().toString(GetProjectBuildTimestamp()) << '\n'
<< Tr("Build Version: ") << GetProjectBuildVersion() << '\n'
- << Tr("Source Code Version: ") << GetProjectBuildGitVersion() << '\n';
+ << Tr("Source Code Infomation: ") << GetProjectBuildGitVersion()
+ << '\n';
stream << Qt::endl;
return 0;