mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
aptly exits with 2 on command/flag parse error. #52
This commit is contained in:
+13
-1
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user