aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli/main.cpp b/src/cli/main.cpp
index 74cf71d37..1f806a906 100644
--- a/src/cli/main.cpp
+++ b/src/cli/main.cpp
@@ -20,6 +20,8 @@ int main(int argc, char* argv[])
cmd_name = argv[1];
if(cmd_name == "--help" || cmd_name == "-h")
cmd_name = "help";
+ if(cmd_name == "--version" || cmd_name == "-V")
+ cmd_name = "version";
}
std::unique_ptr<Botan_CLI::Command> cmd(Botan_CLI::Command::get_cmd(cmd_name));