From cfa6b082eaa4a02f34576cbd5a55e3c46f04acdd Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 24 Jun 2022 20:33:48 -1000 Subject: refactor(help): move version to constexpr --- src/cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli.cc') 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"); -- cgit v1.2.3