diff options
author | saturneric <[email protected]> | 2023-12-06 13:10:48 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-06 13:18:07 +0000 |
commit | a0f0fd98efa12ef33959badcc25ff568e8b242b4 (patch) | |
tree | 860563fdbfe353e57724b08c4eb30dc03d5f8a7d /src/cmd.cpp | |
parent | feat: convert basic opera to async style (diff) | |
download | GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.tar.gz GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.zip |
feat: move test to src and add submodule googletest
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r-- | src/cmd.cpp | 20 |
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 |