From: Stephen Hemminger Date: Sat, 13 Jul 2013 17:02:03 +0000 (-0700) Subject: ip: add batch mode to man page X-Git-Tag: v3.10.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09154ec15f0f37b8af29409d16144c88bd8b3526;p=thirdparty%2Fiproute2.git ip: add batch mode to man page --- diff --git a/man/man8/ip.8 b/man/man8/ip.8 index 37f99885d..9065b3a05 100644 --- a/man/man8/ip.8 +++ b/man/man8/ip.8 @@ -11,6 +11,12 @@ ip \- show / manipulate routing, devices, policy routing and tunnels .BR help " }" .sp +.ti -8 +.B ip +.RB "[ " -force " ] " +.BI "-batch " filename +.sp + .ti -8 .IR OBJECT " := { " .BR link " | " addr " | " addrlabel " | " route " | " rule " | " neigh " | "\ @@ -27,17 +33,28 @@ ip \- show / manipulate routing, devices, policy routing and tunnels .BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | " \fB\-o\fR[\fIneline\fR] } + .SH OPTIONS .TP .BR "\-V" , " -Version" -print the version of the +Print the version of the .B ip utility and exit. +.TP +.BR "\-b", " \-batch " +Read commands from provided file or standard input and invoke them. +First failure will cause termination of ip. + +.TP +.BR "\-force" +Don't terminate ip on errors in batch mode. +If there were any errors during execution of the commands, the application return code will be non zero. + .TP .BR "\-s" , " \-stats" , " \-statistics" -output more information. If the option +Output more information. If the option appears twice or more, the amount of information increases. As a rule, the information is statistics or some time values.