aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cmd.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index 24080a08..f0d748e0 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -36,23 +36,23 @@
// GpgFrontend
#include "GpgFrontendBuildInfo.h"
-#include "spdlog/common.h"
+#include "type.h"
namespace po = boost::program_options;
auto PrintVersion() -> int {
std::cout << PROJECT_NAME << " "
<< "v" << VERSION_MAJOR << "." << VERSION_MINOR << "."
- << VERSION_PATCH << std::endl;
+ << VERSION_PATCH << '\n';
std::cout
- << "Copyright (C) 2021 Saturneric <[email protected]>" << std::endl
+ << "Copyright (C) 2021 Saturneric <[email protected]>" << '\n'
<< _("This is free software; see the source for copying conditions.")
- << std::endl
- << std::endl;
+ << '\n'
+ << '\n';
- std::cout << _("Build Timestamp: ") << BUILD_TIMESTAMP << std::endl
- << _("Build Version: ") << BUILD_VERSION << std::endl
- << _("Source Code Version: ") << GIT_VERSION << std::endl;
+ std::cout << _("Build Timestamp: ") << BUILD_TIMESTAMP << '\n'
+ << _("Build Version: ") << BUILD_VERSION << '\n'
+ << _("Source Code Version: ") << GIT_VERSION << '\n';
return 0;
}
@@ -77,4 +77,6 @@ auto ParseLogLevel(const po::variables_map& vm) -> spdlog::level::level_enum {
}
return spdlog::level::info;
-} \ No newline at end of file
+}
+
+auto RunTest(int argc, char** argv) {} \ No newline at end of file