aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/main.cpp')
-rw-r--r--src/cmd/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/main.cpp b/src/cmd/main.cpp
index 21a9ba78b..4b1e9a62d 100644
--- a/src/cmd/main.cpp
+++ b/src/cmd/main.cpp
@@ -35,6 +35,8 @@ int help(int , char* argv[])
std::cout << "Available commands:\n";
+ Botan::LibraryInitializer init;
+
size_t idx = 1;
for(auto&& app: apps)
{
@@ -155,8 +157,6 @@ int main(int argc, char* argv[])
{
try
{
- Botan::LibraryInitializer init;
-
if(argc < 2)
return help(argc, argv);