diff options
author | Jack Lloyd <[email protected]> | 2017-12-06 05:34:39 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-06 05:34:39 -0500 |
commit | dd9b4462b1319719128fb20e2cbffcafd13b9b36 (patch) | |
tree | 72899758cad6ba8a95021fa80108da6ea50a3ce7 /src/cli/utils.cpp | |
parent | 5d101ca94e2a53ebd9313d35669320e87835c618 (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.cpp | 4 |
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"; } } }; |