man: add "EXIT STATUS" section to nmcli man page

This commit is contained in:
Jiří Klimeš
2010-08-26 16:11:59 +02:00
parent f917852de3
commit a093792cd0

View File

@@ -22,7 +22,7 @@
.\"
.\" Copyright (C) 2010 Red Hat, Inc.
.\"
.TH NMCLI "1" "14 April 2010"
.TH NMCLI "1" "26 August 2010"
.SH NAME
nmcli \- command-line tool for controlling NetworkManager
@@ -312,10 +312,28 @@ No simple reference.
.fi
.RE
.SH EXIT STATUS
\fInmcli\fP exits with status 0 if it succeeds, a value greater than 0 is returned if errors occur.
.IP "0" 4
Success - indicates the operation succeeded
.IP "1" 4
Unknown or unspecified error
.IP "2" 4
Invalid user input, wrong \fInmcli\fP invocation
.IP "3" 4
Timeout expired (see commands with \fI\-\-timeout\fP option)
.IP "4" 4
Connection activation failed
.IP "5" 4
Connection deactivation failed
.IP "6" 4
Disconnecting device failed
.SH BUGS
There are probably some. If you find a bug, please report to
https://bugzilla.gnome.org/ \- product \fINetworkManager\fP.
.SH SEE ALSO
.BR nm\-tool (1),
.BR nm\-online (1),
.BR NetworkManager(8).