X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmans%2Foping.pod;h=b6ce0b2b7f35d12355cf4dbc1e222ab15ecbaec7;hb=8557f59b71eb64324dcbb0e470bad9ca5958b2f0;hp=aedb728edde782e7e9e6f8ad890a0b766aa6d68d;hpb=4710e5477bfa3902b5f5600475ea21c44fabf446;p=liboping.git diff --git a/src/mans/oping.pod b/src/mans/oping.pod index aedb728..b6ce0b2 100644 --- a/src/mans/oping.pod +++ b/src/mans/oping.pod @@ -171,6 +171,18 @@ packets. I B<-u> forces UTF-8 output, B<-U> disables UTF-8 output. If neither is given, the codeset is automatically determined from the locale. +=item B<-Z> I + +If any hosts have a drop rate higher than I, where I is a +number between zero and 100 inclusively, exit with a non-zero exit status. +Since it is not possible to have a higher drop rate than 100%, passing this +limit will effectively disable the feature (the default). Setting the option to +zero means that the exit status will only be zero if I replies for I +hosts have been received. + +The exit status will indicate the number of hosts with more than I +packets lost, up to a number of 255 failing hosts. + =back =head1 COLORS