2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Added the default listening ports to the help message.
	* src/main.cc (showUsage)
pull/1/head
Tatsuhiro Tsujikawa 2007-06-23 06:25:12 +00:00
parent d7155e8f6c
commit 50b4cf67e0
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added the default listening ports to the help message.
* src/main.cc (showUsage)
2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Reduce the number of calls to gettimeofday to lower CPU load.

View File

@ -1,11 +1,11 @@
.\" Title: aria2c
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
.\" Date: 06/10/2007
.\" Date: 06/23/2007
.\" Manual:
.\" Source:
.\"
.TH "ARIA2C" "1" "06/10/2007" "" ""
.TH "ARIA2C" "1" "06/23/2007" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@ -292,7 +292,7 @@ Directly read from and write to each file mentioned in .torrent file. Default:
.PP
\-\-listen\-port=PORT
.RS 4
Set port number to listen to for peer connection.
Set port number to listen to for peer connection. Default: 6881\-6999
.RE
.PP
\-\-max\-upload\-limit=SPEED

View File

@ -201,6 +201,7 @@ OPTIONS
--listen-port=PORT::
Set port number to listen to for peer connection.
Default: 6881-6999
--max-upload-limit=SPEED::
Set max upload speed in bytes per sec.

View File

@ -224,7 +224,8 @@ void showUsage() {
cout << _(" --direct-file-mapping=true|false Directly read from and write to each file\n"
" mentioned in .torrent file.\n"
" Default: true") << endl;
cout << _(" --listen-port=PORT Set port number to listen to for peer connection.") << endl;
cout << _(" --listen-port=PORT Set port number to listen to for peer connection.\n"
" Default: 6881-6999") << endl;
cout << _(" --max-upload-limit=SPEED Set max upload speed in bytes per sec.\n"
" 0 means unrestricted.\n"
" You can append K or M(1K = 1024, 1M = 1024K).\n"