mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
Fix broken text formatting
This commit is contained in:
parent
79a20e046f
commit
a28396065e
2 changed files with 10 additions and 4 deletions
|
@ -4124,7 +4124,9 @@ Specify the output file name
|
|||
|
||||
To specify the output file name for BitTorrent downloads, you need to know
|
||||
the index of file in the torrent (see :option:`--show-files <-S>`). For
|
||||
example, the output looks like this::
|
||||
example, the output looks like this:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
idx|path/length
|
||||
===+======================
|
||||
|
|
|
@ -8,7 +8,9 @@ Control File (\*.aria2) Format
|
|||
------------------------------
|
||||
|
||||
The control file uses a binary format to store progress information of
|
||||
a download. Here is the diagram for each field::
|
||||
a download. Here is the diagram for each field:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
0 1 2 3
|
||||
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
|
@ -45,7 +47,7 @@ a download. Here is the diagram for each field::
|
|||
|
||||
``EXT`` (EXTENSION): 4 bytes
|
||||
If LSB is 1(i.e. ``EXT[3]&1 == 1``), aria2 checks whether the saved
|
||||
!InfoHash and current downloading one are the same. If they are not
|
||||
InfoHash and current downloading one are the same. If they are not
|
||||
the same, an exception is thrown. This is called "infoHashCheck"
|
||||
extension.
|
||||
|
||||
|
@ -104,7 +106,9 @@ aria2 saves IPv4 DHT routing table in
|
|||
``dht.dat`` and ``dht6.dat`` files use same binary encoding and have
|
||||
following fields. All multi byte integers are in network byte
|
||||
order. ``RSV`` (RESERVED) fields are reserved for future use. For now
|
||||
they should be all zeros::
|
||||
they should be all zeros:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
0 1 2 3
|
||||
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue