]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
add short description of batch mode in tc man page
authorHubert Kario <hkario@redhat.com>
Thu, 11 Apr 2013 04:49:50 +0000 (04:49 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 12 Apr 2013 16:07:09 +0000 (09:07 -0700)
The tc command is missing documentation of -batch and -force switches
that are returned by "tc -help".
Add short description on their syntax and usage.

man/man8/tc.8

index bbc6790709faaeb088f230b00dd09245fc312f38..e0acfeb4d13554c62af082c8f850aadcf6f4fd56 100644 (file)
@@ -48,6 +48,9 @@ DEV
 .B tc filter show dev
 DEV
 
+.P
+.B tc [ -force ] -b\fR[\fIatch\fR] \fB[ filename ]
+
 .ti 8
 .IR FORMAT " := {"
 \fB\-s\fR[\fItatistics\fR] |
@@ -427,6 +430,15 @@ decode filter offset and mask values to equivalent filter commands based on TCP/
 .BR "\-iec"
 print rates in IEC units (ie. 1K = 1024).
 
+.TP
+.BR "\-b", " \-b filename", " \-batch", " \-batch filename"
+read commands from provided file or standard input and invoke them.
+First failure will cause termination of tc.
+
+.TP
+.BR "\-force"
+don't terminate tc on errors in batch mode.
+If there were any errors during execution of the commands, the application return code will be non zero.
 
 .SH HISTORY
 .B tc