aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/utils.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-06 05:34:39 -0500
committerJack Lloyd <[email protected]>2017-12-06 05:34:39 -0500
commitdd9b4462b1319719128fb20e2cbffcafd13b9b36 (patch)
tree72899758cad6ba8a95021fa80108da6ea50a3ce7 /src/cli/utils.cpp
parent5d101ca94e2a53ebd9313d35669320e87835c618 (diff)
Add a new version function returning just the version without extras
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r--src/cli/utils.cpp4
1 files changed, 1 insertions, 3 deletions
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";
}
}
};