Skip to content

Commit

Permalink
Add more info for poac version (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui authored Jan 20, 2024
1 parent 7415359 commit 4e756f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Cmd/Version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ versionMain(const std::span<const StringRef> args) noexcept {
<< ' ' << POAC_COMMIT_DATE << ")\n";

if (isVerbose()) {
std::cout << "compile-date: " << COMPILE_DATE << '\n'
std::cout << "release: " << POAC_PKG_VERSION << '\n'
<< "commit-hash: " << POAC_COMMIT_HASH << '\n'
<< "commit-date: " << POAC_COMMIT_DATE << '\n'
<< "compiler: " << __VERSION__ << '\n'
<< "compile-date: " << COMPILE_DATE << '\n'
<< "libgit2: " << git2::Version() << '\n';

const curl_version_info_data* curlData = curl_version_info(CURLVERSION_NOW);
Expand Down

0 comments on commit 4e756f3

Please sign in to comment.