Ver código fonte

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

Tatsuhiro Tsujikawa 12 anos atrás
pai
commit
382cb9a191
1 arquivos alterados com 14 adições e 2 exclusões
  1. 14 2
      doc/manual-src/en/aria2c.rst

+ 14 - 2
doc/manual-src/en/aria2c.rst

@@ -1395,8 +1395,12 @@ Advanced Options
   Print the version number, copyright and the configuration information and
   Print the version number, copyright and the configuration information and
   exit.
   exit.
 
 
-Options That Take An Optional Argument
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Notes for Options
+~~~~~~~~~~~~~~~~~
+
+Optional arguments
+^^^^^^^^^^^^^^^^^^
+
 The options that have its argument surrounded by square brackets([])
 The options that have its argument surrounded by square brackets([])
 take an optional argument. Usually omiting the argument is evaluated to ``true``.
 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
 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,
 ``-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.
 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
 URI, MAGNET, TORRENT_FILE, METALINK_FILE
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~