diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-06-19 11:25:17 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-07-11 11:32:39 +0200 |
commit | 88f547c6c4ee2123d544ce5b4610b1d6c6e4a95d (patch) | |
tree | 8a4411eddf33c112a3de82c78878bad97377bcfc /man/nmcli.1.in | |
parent | 831c1ad1cb1d8393131d5d59eac696ba91a12d4c (diff) | |
download | NetworkManager-jk/dev-delete-rh1034150.tar.gz |
cli: add 'nmcli device delete <ifname>' command (rh #1034150)jk/dev-delete-rh1034150
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/nmcli.1.in')
-rw-r--r-- | man/nmcli.1.in | 12 |
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 |