aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2006-01-18 18:13:30 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2006-01-18 18:13:30 +0000
commit89413703156dc2b4ec8d83eea4357369503b7f10 (patch)
tree2932b42a39dc3e3140861909806ebb267b60200e
parent69fdaf47471e5c0e35ac6eae352ac8fd05336cfd (diff)
downloadpaludis-89413703156dc2b4ec8d83eea4357369503b7f10.tar.gz
paludis-89413703156dc2b4ec8d83eea4357369503b7f10.tar.xz
Return success from paludis --help
-rw-r--r--src/paludis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/paludis.cc b/src/paludis.cc
index 660c659..c9f210d 100644
--- a/src/paludis.cc
+++ b/src/paludis.cc
@@ -126,13 +126,14 @@ main(int argc, char *argv[])
cout << "Usage: " << argv[0] << " [options]" << endl;
cout << endl;
cout << *CommandLine::get_instance();
+ return EXIT_SUCCESS;
}
else
{
cerr << "Usage error: " << h.message << endl;
cerr << "Try " << argv[0] << " --help" << endl;
+ return EXIT_FAILURE;
}
- return EXIT_FAILURE;
}
catch (const p::Exception & e)
{