mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 04:02:30 +00:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user