diff options
Diffstat (limited to 'sm-http-server.cpp')
-rw-r--r-- | sm-http-server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm-http-server.cpp b/sm-http-server.cpp index b9c3203..80dd68f 100644 --- a/sm-http-server.cpp +++ b/sm-http-server.cpp @@ -171,6 +171,7 @@ int main(int argc, const char *const argv[]) { } catch (po::required_option &e) { cerr << "Missing required option: " << e.get_option_name() << endl; cerr << all << endl; + return EXIT_FAILURE; } catch (po::unknown_option &e) { cerr << e.what() << endl; return EXIT_FAILURE; |