From 75d3e6f4dd38ede699fd3cca51bf51418edbaa41 Mon Sep 17 00:00:00 2001 From: gt Date: Tue, 11 Jun 2013 23:49:09 +0530 Subject: [PATCH] Improvements to --follow-torrent=false documentation. --- doc/manual-src/en/aria2c.rst | 9 ++++++++- src/usage_text.h | 5 +++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst index 1a5d1a3b..60eaf064 100644 --- a/doc/manual-src/en/aria2c.rst +++ b/doc/manual-src/en/aria2c.rst @@ -767,7 +767,8 @@ BitTorrent Specific Options file and downloads files mentioned in it. If ``mem`` is specified, a torrent file is not written to the disk, but is just kept in memory. - If ``false`` is specified, the action mentioned above is not taken. + If ``false`` is specified, the ``.torrent`` file is downloaded to the disk, but + is not parsed as a torrent and its contents are not downloaded. Default: ``true`` .. option:: -O, --index-out== @@ -3644,6 +3645,12 @@ Download only selected files using index(usually called "selectable download") The index is printed to the console using -S option. +Download .torrent file, but do not download its contents +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +.. code-block:: console + + $ aria2c --follow-torrent=false "http://host/file.torrent" + Specify output filename ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/usage_text.h b/src/usage_text.h index 76936c41..3135ffd5 100644 --- a/src/usage_text.h +++ b/src/usage_text.h @@ -268,8 +268,9 @@ " mentioned in it.\n" \ " If mem is specified, a torrent file is not\n" \ " written to the disk, but is just kept in memory.\n" \ - " If false is specified, the action mentioned above\n" \ - " is not taken.") + " If false is specified, the .torrent file is\n" \ + " downloaded to the disk, but is not parsed as a\n" \ + " torrent and its contents are not downloaded.") #define TEXT_LISTEN_PORT \ _(" --listen-port=PORT... Set TCP port number for BitTorrent downloads.\n" \ " Multiple ports can be specified by using ',',\n" \