diff options
author | Jack Lloyd <[email protected]> | 2019-04-18 14:55:58 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-04-18 14:55:58 -0400 |
commit | 05c5bc9b51e3d972cf76256214e1291927325838 (patch) | |
tree | 5a27ea72e23c475c0a80d0202782dd02ec3e88f2 /src | |
parent | a72a85da15335fd6346bf0f17bbb8b4e6fe38ce0 (diff) |
Understand --version
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/main.cpp | 2 |
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)); |