]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
man ip-link: Add deleting links by group
authorVadim Kochan <vadim4j@gmail.com>
Fri, 1 May 2015 18:46:41 +0000 (21:46 +0300)
committerStephen Hemminger <shemming@brocade.com>
Mon, 4 May 2015 16:00:52 +0000 (09:00 -0700)
Indicate possibility deleting virtual links by group.

Also changed the alignment of 'ip link delete' args
descriptions, to look like similary to 'ip link set'.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
man/man8/ip-link.8.in

index 5ad372c0c02e42f35e000407319c5075caad3ea0..0dfcb2ea62bf52add019b66cb76476d7b10c4c97 100644 (file)
@@ -78,7 +78,10 @@ ip-link \- network device configuration
 .BR ipvlan " ]"
 
 .ti -8
-.BI "ip link delete " DEVICE
+.BR "ip link delete " {
+.IR DEVICE " | "
+.BI "group " GROUP
+}
 .BI type " TYPE"
 .RI "[ " ARGS " ]"
 
@@ -588,15 +591,19 @@ the following additional arguments are supported:
 - specifies the mode (datagram or connected) to use.
 
 .SS ip link delete - delete virtual link
-.I DEVICE
-specifies the virtual  device to act operate on.
-.I TYPE
-specifies the type of the device.
-
 
 .TP
 .BI dev " DEVICE "
-specifies the physical device to act operate on.
+specifies the virtual device to act operate on.
+
+.TP
+.BI group " GROUP "
+specifies the group of virtual links to delete. Group 0 is not allowed to be
+deleted since it is the default group.
+
+.TP
+.BI type " TYPE "
+specifies the type of the device.
 
 .SS ip link set - change device attributes