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> 2007-06-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Reduce the number of calls to gettimeofday to lower CPU load. Reduce the number of calls to gettimeofday to lower CPU load.

View File

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

View File

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