aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-18 12:58:37 +0000
committersaturneric <[email protected]>2024-01-18 12:58:37 +0000
commite0d2c4021483e6e1366c1050ccb5a30e53e172bb (patch)
tree5d85739479622e7c672aea45f84d4e2f577f9332 /src/cmd.cpp
parentfix: correct a fault (diff)
downloadGpgFrontend-e0d2c4021483e6e1366c1050ccb5a30e53e172bb.tar.gz
GpgFrontend-e0d2c4021483e6e1366c1050ccb5a30e53e172bb.zip
fix: add test cases and solve discovered issues
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r--src/cmd.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index e19ad218..f060a16b 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -41,22 +41,21 @@
namespace GpgFrontend {
auto PrintVersion() -> int {
- QTextStream stream(stdin);
+ QTextStream stream(stdout);
stream << PROJECT_NAME << " "
<< "v" << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_PATCH
<< '\n';
- stream << "Copyright (C) 2021 Saturneric <[email protected]>" << '\n'
+ stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
<< QObject::tr(
"This is free software; see the source for copying conditions.")
<< '\n'
<< '\n';
- stream << QObject::tr("Build Timestamp: ") << BUILD_TIMESTAMP << '\n'
+ stream << QObject::tr("Build DateTime: ") << BUILD_TIMESTAMP << '\n'
<< QObject::tr("Build Version: ") << BUILD_VERSION << '\n'
<< QObject::tr("Source Code Version: ") << GIT_VERSION << '\n';
stream << Qt::endl;
-
return 0;
}