From a7709947f2815d262fec84df5e9caffd7a205e62 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 5 Dec 2009 06:44:40 +0000 Subject: 2009-12-05 Tatsuhiro Tsujikawa Updated usage text for --bt-prioritize-piece option. * doc/aria2c.1.txt * src/usage_text.h --- ChangeLog | 6 ++++++ doc/aria2c.1 | 8 ++++---- doc/aria2c.1.html | 17 +++++++++-------- doc/aria2c.1.txt | 15 ++++++++------- src/usage_text.h | 19 ++++++++++--------- 5 files changed, 37 insertions(+), 28 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f90c42f..c978d060 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-05 Tatsuhiro Tsujikawa + + Updated usage text for --bt-prioritize-piece option. + * doc/aria2c.1.txt + * src/usage_text.h + 2009-12-05 Tatsuhiro Tsujikawa In configure script, if --with-PACKAGE and --enable-FEATURE are diff --git a/doc/aria2c.1 b/doc/aria2c.1 index 9046d1dd..7a0d2e3b 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -2,12 +2,12 @@ .\" Title: aria2c .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/04/2009 +.\" Date: 12/05/2009 .\" Manual: Aria2 Manual .\" Source: Aria2 .\" Language: English .\" -.TH "ARIA2C" "1" "12/04/2009" "Aria2" "Aria2 Manual" +.TH "ARIA2C" "1" "12/05/2009" "Aria2" "Aria2 Manual" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- @@ -506,10 +506,10 @@ Set minimum level of encryption method\&. If several encryption methods are prov .PP \fB\-\-bt\-prioritize\-piece\fR=\fIhead\fR[=SIZE],\fItail\fR[=SIZE] .RS 4 -Try to download first and last pieces of each file first\&. The argument can contain 2 keywords: +Try to download first and last pieces of each file first\&. This is useful for previewing files\&. The argument can contain 2 keywords: \fIhead\fR and -\fItail\fR\&. To include both keywords, they must be separated by comma\&. These keywords can take one parameter, SIZE\&. For example , if +\fItail\fR\&. To include both keywords, they must be separated by comma\&. These keywords can take one parameter, SIZE\&. For example, if \fIhead\fR=SIZE is specified, pieces in the range of first SIZE bytes of each file get higher priority\&. \fItail\fR=SIZE means the range of last SIZE bytes of each file\&. SIZE can include \fIK\fR diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 404124ac..1a29f6e9 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -1216,13 +1216,14 @@ writes the piece to the appropriate files.

- Try to download first and last pieces of each file first. The - argument can contain 2 keywords: head and tail. To include both - keywords, they must be separated by comma. These keywords can take - one parameter, SIZE. For example , if head=SIZE is specified, - pieces in the range of first SIZE bytes of each file get higher - priority. tail=SIZE means the range of last SIZE bytes of each - file. SIZE can include K or M(1K = 1024, 1M = 1024K). + Try to download first and last pieces of each file first. This is + useful for previewing files. The argument can contain 2 + keywords: head and tail. To include both keywords, they must be + separated by comma. These keywords can take one parameter, SIZE. For + example, if head=SIZE is specified, pieces in the range of first + SIZE bytes of each file get higher priority. tail=SIZE means the + range of last SIZE bytes of each file. SIZE can include K or + M(1K = 1024, 1M = 1024K).

@@ -3447,7 +3448,7 @@ files in the program, then also delete it here.


diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index 74478c12..508f2597 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -357,13 +357,14 @@ BitTorrent Specific Options *--bt-prioritize-piece*='head'[=SIZE],'tail'[=SIZE]:: - Try to download first and last pieces of each file first. The - argument can contain 2 keywords: 'head' and 'tail'. To include both - keywords, they must be separated by comma. These keywords can take - one parameter, SIZE. For example , if 'head'=SIZE is specified, - pieces in the range of first SIZE bytes of each file get higher - priority. 'tail'=SIZE means the range of last SIZE bytes of each - file. SIZE can include 'K' or 'M'(1K = 1024, 1M = 1024K). + Try to download first and last pieces of each file first. This is + useful for previewing files. The argument can contain 2 + keywords: 'head' and 'tail'. To include both keywords, they must be + separated by comma. These keywords can take one parameter, SIZE. For + example, if 'head'=SIZE is specified, pieces in the range of first + SIZE bytes of each file get higher priority. 'tail'=SIZE means the + range of last SIZE bytes of each file. SIZE can include 'K' or + 'M'(1K = 1024, 1M = 1024K). *--bt-require-crypto*='true'|'false':: If true is given, aria2 doesn't accept and establish connection with legacy diff --git a/src/usage_text.h b/src/usage_text.h index 2446a21d..5bb0cd2b 100644 --- a/src/usage_text.h +++ b/src/usage_text.h @@ -566,15 +566,16 @@ _(" --xml-rpc-listen-all[=true|false] Listen incoming XML-RPC requests on all\n" " on local loopback interface.") #define TEXT_BT_PRIORITIZE_PIECE \ _(" --bt-prioritize-piece=head[=SIZE],tail[=SIZE] Try to download first and last\n"\ - " pieces of each file first. The argument can\n"\ - " contain 2 keywords:head and tail. To include both\n"\ - " keywords, they must be separated by comma. These\n"\ - " keywords can take one parameter, SIZE. For example\n"\ - " , if head=SIZE is specified, pieces in the range\n"\ - " of first SIZE bytes of each file get higher\n"\ - " priority. tail=SIZE means the range of last SIZE\n"\ - " bytes of each file. SIZE can include K or M(1K =\n"\ - " 1024, 1M = 1024K).") + " pieces of each file first. This is useful for\n"\ + " previewing files. The argument can contain 2\n"\ + " keywords:head and tail. To include both keywords,\n"\ + " they must be separated by comma. These keywords\n"\ + " can take one parameter, SIZE. For example, if\n"\ + " head=SIZE is specified, pieces in the range of\n"\ + " first SIZE bytes of each file get higher priority.\n"\ + " tail=SIZE means the range of last SIZE bytes of\n"\ + " each file. SIZE can include K or M(1K = 1024, 1M =\n"\ + " 1024K).") #define TEXT_INTERFACE \ _(" --interface=INTERFACE Bind sockets to given interface. You can specify\n"\ " interface name, IP address and hostname.") -- cgit