diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2010-08-26 16:11:59 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2010-08-26 16:11:59 +0200 |
commit | a093792cd0a3153e174386ebead6cd982db52a9b (patch) | |
tree | fe824633c7834c5f09693cd64654544d55275b89 /man | |
parent | f917852de3f4676f259edd2f272b561c9068435b (diff) | |
download | NetworkManager-a093792cd0a3153e174386ebead6cd982db52a9b.tar.gz |
man: add "EXIT STATUS" section to nmcli man page
Diffstat (limited to 'man')
-rw-r--r-- | man/nmcli.1.in | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in index 056b5bdd40..260d076516 100644 --- a/man/nmcli.1.in +++ b/man/nmcli.1.in @@ -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). |