mirror of https://github.com/aria2/aria2
Updated EXIT STATUS section.
parent
f0f4f8f703
commit
85d0a9b740
128
doc/aria2c.1
128
doc/aria2c.1
|
@ -2,12 +2,12 @@
|
|||
.\" Title: aria2c
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 11/23/2010
|
||||
.\" Date: 12/01/2010
|
||||
.\" Manual: Aria2 Manual
|
||||
.\" Source: Aria2 1.10.6
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "ARIA2C" "1" "11/23/2010" "Aria2 1\&.10\&.6" "Aria2 Manual"
|
||||
.TH "ARIA2C" "1" "12/01/2010" "Aria2 1\&.10\&.6" "Aria2 Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
@ -1546,51 +1546,157 @@ Because aria2 can handle multiple downloads at once, it encounters lots of error
|
|||
.PP
|
||||
\fB0\fR
|
||||
.RS 4
|
||||
If all downloads are successful\&.
|
||||
If all downloads were successful\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB1\fR
|
||||
.RS 4
|
||||
If an unknown error occurs\&.
|
||||
If an unknown error occurred\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB2\fR
|
||||
.RS 4
|
||||
If time out occurs\&.
|
||||
If time out occurred\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB3\fR
|
||||
.RS 4
|
||||
If a resource is not found\&.
|
||||
If a resource was not found\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB4\fR
|
||||
.RS 4
|
||||
If aria2 sees the specfied number of "resource not found" error\&. See
|
||||
If aria2 saw the specfied number of "resource not found" error\&. See
|
||||
\fB\-\-max\-file\-not\-found\fR
|
||||
option)\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB5\fR
|
||||
.RS 4
|
||||
If a download aborts because download speed is too slow\&. See
|
||||
If a download aborted because download speed was too slow\&. See
|
||||
\fB\-\-lowest\-speed\-limit\fR
|
||||
option)
|
||||
.RE
|
||||
.PP
|
||||
\fB6\fR
|
||||
.RS 4
|
||||
If network problem occurs\&.
|
||||
If network problem occurred\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB7\fR
|
||||
.RS 4
|
||||
If there are unfinished downloads\&. This error is only reported if all finished downloads are successful and there are unfinished downloads in a queue when aria2 exits by pressing Ctrl\-C by an user or sending TERM or INT signal\&.
|
||||
If there were unfinished downloads\&. This error is only reported if all finished downloads were successful and there were unfinished downloads in a queue when aria2 exited by pressing Ctrl\-C by an user or sending TERM or INT signal\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB8\fR
|
||||
.RS 4
|
||||
If server does not support resume when resume is required to complete download\&.
|
||||
If remote server did not support resume when resume was required to complete download\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB9\fR
|
||||
.RS 4
|
||||
If there was not enough disk space available\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB10\fR
|
||||
.RS 4
|
||||
If piece length was different from one in \&.aria2 control file\&. See
|
||||
\fB\-\-allow\-piece\-length\-change\fR
|
||||
option\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB11\fR
|
||||
.RS 4
|
||||
If aria2 was downloading same file at that moment\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB12\fR
|
||||
.RS 4
|
||||
If aria2 was downloading same info hash torrent at that moment\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB13\fR
|
||||
.RS 4
|
||||
If file already existed\&. See
|
||||
\fB\-\-allow\-overwrite\fR
|
||||
option\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB14\fR
|
||||
.RS 4
|
||||
If renaming file failed\&. See
|
||||
\fB\-\-auto\-file\-renaming\fR
|
||||
option\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB15\fR
|
||||
.RS 4
|
||||
If aria2 could not open existing file\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB16\fR
|
||||
.RS 4
|
||||
If aria2 could not create new file or truncate existing file\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB17\fR
|
||||
.RS 4
|
||||
If file I/O error occurred\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB18\fR
|
||||
.RS 4
|
||||
If aria2 could not create directory\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB19\fR
|
||||
.RS 4
|
||||
If name resolution failed\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB20\fR
|
||||
.RS 4
|
||||
If aria2 could not parse Metalink document\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB21\fR
|
||||
.RS 4
|
||||
If FTP command failed\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB22\fR
|
||||
.RS 4
|
||||
If HTTP response header was bad or unexpected\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB23\fR
|
||||
.RS 4
|
||||
If too many redirections occurred\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB24\fR
|
||||
.RS 4
|
||||
If HTTP authorization failed\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB25\fR
|
||||
.RS 4
|
||||
If aria2 could not parse bencoded file(usually \&.torrent file)\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB26\fR
|
||||
.RS 4
|
||||
If \&.torrent file was corrupted or missing information that aria2 needed\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB27\fR
|
||||
.RS 4
|
||||
If Magnet URI was bad\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB28\fR
|
||||
.RS 4
|
||||
If bad/unrecognized option was given or unexpected option argument was given\&.
|
||||
.RE
|
||||
.if n \{\
|
||||
.sp
|
||||
|
|
|
@ -2469,7 +2469,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If all downloads are successful.
|
||||
If all downloads were successful.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
|
@ -2477,7 +2477,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If an unknown error occurs.
|
||||
If an unknown error occurred.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
|
@ -2485,7 +2485,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If time out occurs.
|
||||
If time out occurred.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
|
@ -2493,7 +2493,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If a resource is not found.
|
||||
If a resource was not found.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
|
@ -2501,7 +2501,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 sees the specfied number of "resource not found" error.
|
||||
If aria2 saw the specfied number of "resource not found" error.
|
||||
See <strong><a href="#aria2_optref_max_file_not_found">--max-file-not-found</a></strong> option).
|
||||
</p>
|
||||
</dd>
|
||||
|
@ -2510,7 +2510,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If a download aborts because download speed is too slow.
|
||||
If a download aborted because download speed was too slow.
|
||||
See <strong><a href="#aria2_optref_lowest_speed_limit">--lowest-speed-limit</a></strong> option)
|
||||
</p>
|
||||
</dd>
|
||||
|
@ -2519,7 +2519,7 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If network problem occurs.
|
||||
If network problem occurred.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
|
@ -2527,9 +2527,9 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If there are unfinished downloads. This error is only reported if
|
||||
all finished downloads are successful and there are unfinished
|
||||
downloads in a queue when aria2 exits by pressing Ctrl-C by an user
|
||||
If there were unfinished downloads. This error is only reported if
|
||||
all finished downloads were successful and there were unfinished
|
||||
downloads in a queue when aria2 exited by pressing Ctrl-C by an user
|
||||
or sending TERM or INT signal.
|
||||
</p>
|
||||
</dd>
|
||||
|
@ -2538,10 +2538,172 @@ based on the last error encountered.</p></div>
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If server does not support resume when resume is required to
|
||||
If remote server did not support resume when resume was required to
|
||||
complete download.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>9</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If there was not enough disk space available.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>10</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If piece length was different from one in .aria2 control file. See
|
||||
<strong><a href="#aria2_optref_allow_piece_length_change">--allow-piece-length-change</a></strong> option.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>11</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 was downloading same file at that moment.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>12</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 was downloading same info hash torrent at that moment.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>13</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If file already existed. See <strong><a href="#aria2_optref_allow_overwrite">--allow-overwrite</a></strong> option.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>14</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If renaming file failed. See <strong><a href="#aria2_optref_auto_file_renaming">--auto-file-renaming</a></strong> option.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>15</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 could not open existing file.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>16</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 could not create new file or truncate existing file.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>17</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If file I/O error occurred.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>18</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 could not create directory.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>19</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If name resolution failed.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>20</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 could not parse Metalink document.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>21</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If FTP command failed.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>22</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If HTTP response header was bad or unexpected.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>23</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If too many redirections occurred.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>24</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If HTTP authorization failed.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>25</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If aria2 could not parse bencoded file(usually .torrent file).
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>26</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If .torrent file was corrupted or missing information that aria2 needed.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>27</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If Magnet URI was bad.
|
||||
</p>
|
||||
</dd>
|
||||
<dt class="hdlist1">
|
||||
<strong>28</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If bad/unrecognized option was given or unexpected option argument
|
||||
was given.
|
||||
</p>
|
||||
</dd>
|
||||
</dl></div>
|
||||
<div class="admonitionblock">
|
||||
<table><tr>
|
||||
|
@ -4708,7 +4870,7 @@ files in the program, then also delete it here.</p></div>
|
|||
<div id="footnotes"><hr /></div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2010-11-23 23:06:32 JST
|
||||
Last updated 2010-12-01 21:57:22 JST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
104
doc/aria2c.1.txt
104
doc/aria2c.1.txt
|
@ -1109,39 +1109,121 @@ lots of errors in a session. aria2 returns the following exit status
|
|||
based on the last error encountered.
|
||||
|
||||
*0*::
|
||||
If all downloads are successful.
|
||||
If all downloads were successful.
|
||||
|
||||
*1*::
|
||||
If an unknown error occurs.
|
||||
If an unknown error occurred.
|
||||
|
||||
*2*::
|
||||
If time out occurs.
|
||||
If time out occurred.
|
||||
|
||||
*3*::
|
||||
If a resource is not found.
|
||||
If a resource was not found.
|
||||
|
||||
*4*::
|
||||
If aria2 sees the specfied number of "resource not found" error.
|
||||
If aria2 saw the specfied number of "resource not found" error.
|
||||
See *<<aria2_optref_max_file_not_found, --max-file-not-found>>* option).
|
||||
|
||||
*5*::
|
||||
If a download aborts because download speed is too slow.
|
||||
If a download aborted because download speed was too slow.
|
||||
See *<<aria2_optref_lowest_speed_limit, --lowest-speed-limit>>* option)
|
||||
|
||||
*6*::
|
||||
If network problem occurs.
|
||||
If network problem occurred.
|
||||
|
||||
*7*::
|
||||
If there are unfinished downloads. This error is only reported if
|
||||
all finished downloads are successful and there are unfinished
|
||||
downloads in a queue when aria2 exits by pressing Ctrl-C by an user
|
||||
If there were unfinished downloads. This error is only reported if
|
||||
all finished downloads were successful and there were unfinished
|
||||
downloads in a queue when aria2 exited by pressing Ctrl-C by an user
|
||||
or sending TERM or INT signal.
|
||||
|
||||
*8*::
|
||||
|
||||
If server does not support resume when resume is required to
|
||||
If remote server did not support resume when resume was required to
|
||||
complete download.
|
||||
|
||||
*9*::
|
||||
|
||||
If there was not enough disk space available.
|
||||
|
||||
*10*::
|
||||
|
||||
If piece length was different from one in .aria2 control file. See
|
||||
*<<aria2_optref_allow_piece_length_change, --allow-piece-length-change>>* option.
|
||||
|
||||
*11*::
|
||||
|
||||
If aria2 was downloading same file at that moment.
|
||||
|
||||
*12*::
|
||||
|
||||
If aria2 was downloading same info hash torrent at that moment.
|
||||
|
||||
*13*::
|
||||
|
||||
If file already existed. See *<<aria2_optref_allow_overwrite, --allow-overwrite>>* option.
|
||||
|
||||
*14*::
|
||||
|
||||
If renaming file failed. See *<<aria2_optref_auto_file_renaming, --auto-file-renaming>>* option.
|
||||
|
||||
*15*::
|
||||
|
||||
If aria2 could not open existing file.
|
||||
|
||||
*16*::
|
||||
|
||||
If aria2 could not create new file or truncate existing file.
|
||||
|
||||
*17*::
|
||||
|
||||
If file I/O error occurred.
|
||||
|
||||
*18*::
|
||||
|
||||
If aria2 could not create directory.
|
||||
|
||||
*19*::
|
||||
|
||||
If name resolution failed.
|
||||
|
||||
*20*::
|
||||
|
||||
If aria2 could not parse Metalink document.
|
||||
|
||||
*21*::
|
||||
|
||||
If FTP command failed.
|
||||
|
||||
*22*::
|
||||
|
||||
If HTTP response header was bad or unexpected.
|
||||
|
||||
*23*::
|
||||
|
||||
If too many redirections occurred.
|
||||
|
||||
*24*::
|
||||
|
||||
If HTTP authorization failed.
|
||||
|
||||
*25*::
|
||||
|
||||
If aria2 could not parse bencoded file(usually .torrent file).
|
||||
|
||||
*26*::
|
||||
|
||||
If .torrent file was corrupted or missing information that aria2 needed.
|
||||
|
||||
*27*::
|
||||
|
||||
If Magnet URI was bad.
|
||||
|
||||
*28*::
|
||||
|
||||
If bad/unrecognized option was given or unexpected option argument
|
||||
was given.
|
||||
|
||||
[NOTE]
|
||||
An error occurred in a finished download will not be reported
|
||||
as exit status.
|
||||
|
|
Loading…
Reference in New Issue