summaryrefslogtreecommitdiff
path: root/src/cli.cc
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-24 20:33:48 -1000
committerFuwn <[email protected]>2022-06-24 20:33:48 -1000
commitcfa6b082eaa4a02f34576cbd5a55e3c46f04acdd (patch)
tree01fc32af55077dcf7093b904a9208125bb197874 /src/cli.cc
parentfix(node): stringable explicit copy constructor (diff)
downloadcait-cfa6b082eaa4a02f34576cbd5a55e3c46f04acdd.tar.xz
cait-cfa6b082eaa4a02f34576cbd5a55e3c46f04acdd.zip
refactor(help): move version to constexpr
Diffstat (limited to 'src/cli.cc')
-rw-r--r--src/cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.cc b/src/cli.cc
index b1f4eb4..573b9a9 100644
--- a/src/cli.cc
+++ b/src/cli.cc
@@ -72,7 +72,7 @@ auto cli::look() -> int {
std::cout << cait::help_message() << '\n';
} break;
case cait::utility::hash("--version"): {
- std::cout << VERSION << '\n';
+ std::cout << version::whole() << '\n';
} break;
default: {
std::string cait_file_name = this->option("-f")->value_or("build.cait");