diff --git a/src/pokerth_server.cpp b/src/pokerth_server.cpp index 0700eb7b..a81495b4 100644 --- a/src/pokerth_server.cpp +++ b/src/pokerth_server.cpp @@ -92,13 +92,13 @@ main(int argc, char *argv[]) ("readonly-config", "treat config file as read-only") ; - po::variables_map vm; - po::store(po::parse_command_line(argc, argv, desc), vm); - po::notify(vm); - - if (vm.count("help")) - { - cout << desc << endl; + po::variables_map vm; + po::store(po::parse_command_line(argc, argv, desc), vm); + po::notify(vm); + + if (vm.count("help")) + { + cout << desc << endl; return 1; } if (vm.count("version"))