Commit 3cde191f authored by Li Wei's avatar Li Wei Committed by Stephen Hemminger

tc: man: add 'delete' command.

Add the missing 'delete' command for qdisc, class and filter, and
correct 'remove' to 'delete'.
parent 424adc19
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
tc \- show / manipulate traffic control settings tc \- show / manipulate traffic control settings
.SH SYNOPSIS .SH SYNOPSIS
.B tc qdisc [ add | change | replace | link ] dev .B tc qdisc [ add | change | replace | link | delete ] dev
DEV DEV
.B .B
[ parent [ parent
...@@ -13,7 +13,7 @@ qdisc-id ] qdisc ...@@ -13,7 +13,7 @@ qdisc-id ] qdisc
[ qdisc specific parameters ] [ qdisc specific parameters ]
.P .P
.B tc class [ add | change | replace ] dev .B tc class [ add | change | replace | delete ] dev
DEV DEV
.B parent .B parent
qdisc-id qdisc-id
...@@ -22,7 +22,7 @@ class-id ] qdisc ...@@ -22,7 +22,7 @@ class-id ] qdisc
[ qdisc specific parameters ] [ qdisc specific parameters ]
.P .P
.B tc filter [ add | change | replace ] dev .B tc filter [ add | change | replace | delete ] dev
DEV DEV
.B [ parent .B [ parent
qdisc-id qdisc-id
...@@ -316,8 +316,8 @@ parameter. A class is named with the ...@@ -316,8 +316,8 @@ parameter. A class is named with the
parameter. parameter.
.TP .TP
remove delete
A qdisc can be removed by specifying its handle, which may also be 'root'. All subclasses and their leaf qdiscs A qdisc can be deleted by specifying its handle, which may also be 'root'. All subclasses and their leaf qdiscs
are automatically deleted, as well as any filters attached to them. are automatically deleted, as well as any filters attached to them.
.TP .TP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment