浏览代码

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

Tatsuhiro Tsujikawa 12 年之前
父节点
当前提交
382cb9a191
共有 1 个文件被更改,包括 14 次插入2 次删除
  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
   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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~