فهرست منبع

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

	Added the default listening ports to the help message.
	* src/main.cc (showUsage)
Tatsuhiro Tsujikawa 18 سال پیش
والد
کامیت
50b4cf67e0
4فایلهای تغییر یافته به همراه11 افزوده شده و 4 حذف شده
  1. 5 0
      ChangeLog
  2. 3 3
      doc/aria2c.1
  3. 1 0
      doc/aria2c.1.txt
  4. 2 1
      src/main.cc

+ 5 - 0
ChangeLog

@@ -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.

+ 3 - 3
doc/aria2c.1

@@ -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

+ 1 - 0
doc/aria2c.1.txt

@@ -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.

+ 2 - 1
src/main.cc

@@ -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"