Document about k and m can be used as well as K and M.

pull/43/head
Tatsuhiro Tsujikawa 2013-01-27 21:13:24 +09:00
parent 988878930e
commit 382cb9a191
1 changed files with 14 additions and 2 deletions

View File

@ -1395,8 +1395,12 @@ Advanced Options
Print the version number, copyright and the configuration information and
exit.
Options That Take An Optional Argument
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Notes for Options
~~~~~~~~~~~~~~~~~
Optional arguments
^^^^^^^^^^^^^^^^^^
The options that have its argument surrounded by square brackets([])
take an optional argument. Usually omiting the argument is evaluated to ``true``.
If you use short form of these options(such as ``-V``) and give
@ -1404,6 +1408,14 @@ an argument, then the option name and its argument should be concatenated(e.g.
``-Vfalse``). If any spaces are inserted between the option name and the argument,
the argument will be treated as URI and usually this is not what you expect.
Units (K and M)
^^^^^^^^^^^^^^^
Some options takes ``K`` and ``M`` to conveniently represent 1024 and
1048576 respectively. aria2 detects these characters in
case-insensitive way. In other words, ``k`` and ``m`` can be used as
well as ``K`` and ``M`` respectively.
URI, MAGNET, TORRENT_FILE, METALINK_FILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~