[planetblupi] 14/29: Exit immediatly on error with the cli parser
Didier Raboud
odyx at moszumanska.debian.org
Tue Jan 2 08:38:42 UTC 2018
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository planetblupi.
commit 2ac9f735af1245e8a91f13a4cd0e5313eda86c1c
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date: Wed Dec 13 22:40:42 2017 +0100
Exit immediatly on error with the cli parser
---
src/blupi.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/blupi.cxx b/src/blupi.cxx
index 478d368..7ea1505 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -601,6 +601,7 @@ parseArgs (int argc, char * argv[], bool & exit)
catch (const std::exception & e)
{
std::cerr << e.what () << std::endl;
+ exit = true;
return EXIT_FAILURE;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git
More information about the Pkg-games-commits
mailing list