summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-06-19 11:25:17 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-07-22 14:24:43 +0200
commitc7a567ca902ea320dfa67adaf387927fd9a7b68a (patch)
treefdc77bbc2e23c02c8b61c45edd07db923ccf1214 /man
parent576c82049b992b5ffa7925086321785f8368b2d6 (diff)
downloadNetworkManager-c7a567ca902ea320dfa67adaf387927fd9a7b68a.tar.gz
cli: add 'nmcli device delete <ifname>' command (rh #1034150)
It only works for software devices. When called for a hardware device, an error is returned and the device is not deleted. https://bugzilla.redhat.com/show_bug.cgi?id=1034150
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.1.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index 08f07b4ab7..308dbeccc2 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -21,7 +21,7 @@
.\"
.\" Copyright (C) 2010 - 2014 Red Hat, Inc.
.\"
-.TH NMCLI "1" "28 February 2014"
+.TH NMCLI "1" "11 July 2014"
.SH NAME
nmcli \- command\(hyline tool for controlling NetworkManager
@@ -683,7 +683,7 @@ of its latest state.
.B device - show and manage network interfaces
.br
.TP
-.SS \fICOMMAND\fP := { status | show | connect | disconnect | wifi | wimax }
+.SS \fICOMMAND\fP := { status | show | connect | disconnect | delete | wifi | wimax }
.sp
.RS
.TP
@@ -713,6 +713,14 @@ connections without user/manual intervention.
.br
If '--wait' option is not specified, the default timeout will be 10 seconds.
.TP
+.B delete <ifname>
+.br
+Delete a device. The command removes the interface from the system. Note that
+this only works for software devices like bonds, bridges, teams, etc.
+Hardware devices (like Ethernet) cannot be deleted by the command.
+.br
+If '--wait' option is not specified, the default timeout will be 10 seconds.
+.TP
.B wifi [list [ifname <ifname>] [bssid <BSSID>]]
.br
List available Wi\(hyFi access points. The \fIifname\fP and \fIbssid\fP options