From dd9b4462b1319719128fb20e2cbffcafd13b9b36 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 6 Dec 2017 05:34:39 -0500 Subject: Add a new version function returning just the version without extras --- src/cli/utils.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/cli/utils.cpp') diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp index 602035c8c..094665a00 100644 --- a/src/cli/utils.cpp +++ b/src/cli/utils.cpp @@ -119,9 +119,7 @@ class Version_Info final : public Command } else { - output() << Botan::version_major() << "." - << Botan::version_minor() << "." - << Botan::version_patch() << "\n"; + output() << Botan::short_version_string() << "\n"; } } }; -- cgit v1.2.3