aptly exits with 2 on command/flag parse error. #52

This commit is contained in:
Andrey Smirnov
2014-05-16 00:22:51 +04:00
parent 2cbb486f6b
commit 05a42f4cba
40 changed files with 104 additions and 32 deletions
+13 -1
View File
@@ -979,7 +979,19 @@ $ aptly graph
If environment variable \fBHTTP_PROXY\fR is set \fBaptly\fR would use its value to proxy all HTTP requests\.
.
.SH "RETURN VALUES"
\fBaptly\fR exists with 0 on success and with 1 on failure\.
\fBaptly\fR exists with:
.
.TP
0
success
.
.TP
1
general failure
.
.TP
2
command parse failure
.
.SH "AUTHORS"
Andrey Smirnov (me@smira\.ru)
+10 -1
View File
@@ -139,7 +139,16 @@ to proxy all HTTP requests.
## RETURN VALUES
`aptly` exists with 0 on success and with 1 on failure.
`aptly` exists with:
* 0:
success
* 1:
general failure
* 2:
command parse failure
## AUTHORS