* [PATCH] add short description of batch mode in tc man page
[not found] <756691184.2545557.1365691755445.JavaMail.root@redhat.com>
@ 2013-04-11 14:49 ` Hubert Kario
0 siblings, 0 replies; only message in thread
From: Hubert Kario @ 2013-04-11 14:49 UTC (permalink / raw)
To: netdev, ahu
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 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/man/man8/tc.8 b/man/man8/tc.8
index bbc6790..e0acfeb 100644
--- a/man/man8/tc.8
+++ b/man/man8/tc.8
@@ -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
--
1.8.1.4
--
Regards,
Hubert Kario
Quality Engineer, QE BaseOS Security team
http://wiki.brq.redhat.com/hkario
Email: hkario@redhat.com
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-11 14:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <756691184.2545557.1365691755445.JavaMail.root@redhat.com>
2013-04-11 14:49 ` [PATCH] add short description of batch mode in tc man page Hubert Kario
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).