Added help text and port range option.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@288 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-18 21:51:13 +00:00
parent e0f21cce78
commit aa405810db
3 changed files with 50 additions and 27 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ OptionParser::process(int argc, char** argv) {
while ((c = getopt(argc, argv, optString.c_str())) != -1) {
if (c == '?') {
std::stringstream s;
s << "Invalid use of option flag -" << (char)optopt;
s << "Invalid use of option flag -" << (char)optopt << ". Try rtorrent -h for more information.";
throw std::runtime_error(s.str());