Browse Source

2007-08-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Increased the initial connection size in BitTorrent download to 
40.
	* src/BtRuntime.h

	Added the usage message of --peer-id-prefix option.
	* src/main.cc
Tatsuhiro Tsujikawa 18 years ago
parent
commit
645e66ea11
2 changed files with 15 additions and 0 deletions
  1. 8 0
      ChangeLog
  2. 7 0
      src/main.cc

+ 8 - 0
ChangeLog

@@ -1,3 +1,11 @@
+2007-08-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Increased the initial connection size in BitTorrent download to 40.
+	* src/BtRuntime.h
+
+	Added the usage message of --peer-id-prefix option.
+	* src/main.cc
+
 2007-08-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 2007-08-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 
 	MessageDigestHelper is introduced in order to simplify the use
 	MessageDigestHelper is introduced in order to simplify the use

+ 7 - 0
src/main.cc

@@ -259,6 +259,13 @@ void showUsage() {
 	    "                              encouraged. If --seed-time option is specified\n"
 	    "                              encouraged. If --seed-time option is specified\n"
 	    "                              along with this option, seeding ends when at\n"
 	    "                              along with this option, seeding ends when at\n"
 	    "                              least one of the conditions is satisfied.") << endl;
 	    "                              least one of the conditions is satisfied.") << endl;
+  cout << _(" --peer-id-prefix=PEERI_ID_PREFIX Specify the prefix of peer ID. The peer ID in\n"
+	    "                              in BitTorrent is 20 byte length. If more than 20\n"
+	    "                              bytes are specified, only first 20\n"
+	    "                              bytes are used. If less than 20 bytes are\n"
+	    "                              specified, the random alphabet characters are\n"
+	    "                              added to make it's length 20 bytes.\n"
+	    "                              Default: -aria2-") << endl;
 #endif // ENABLE_BITTORRENT
 #endif // ENABLE_BITTORRENT
 #ifdef ENABLE_METALINK
 #ifdef ENABLE_METALINK
   cout << _(" -M, --metalink-file=METALINK_FILE The file path to the .metalink file.") << endl;
   cout << _(" -M, --metalink-file=METALINK_FILE The file path to the .metalink file.") << endl;