]> git.gsnw.org Git - fping.git/commitdiff
Update exit status description in man page
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Wed, 10 Jan 2024 09:47:12 +0000 (10:47 +0100)
committerDavid Schweikert <david@schweikert.ch>
Sun, 4 Feb 2024 10:57:24 +0000 (11:57 +0100)
With the options -x and -X, fping does not require all hosts to
be reachable for an exit status of 0.

This addresses a comment in issue #99 suggesting such a man page
update.

doc/fping.pod

index ac2eb3ef3d755f8e91e0d631222f3ebf3674fa8e..cf5aa5d37fa434866b958dfa36d539cee82042f0 100644 (file)
@@ -274,7 +274,8 @@ B<fping website: L<http://www.fping.org>>
 
 =head1 DIAGNOSTICS
 
-Exit status is 0 if all the hosts are reachable, 1 if some hosts
+Exit status is 0 if all the hosts (or the number of hosts specified with B<-x>
+or B<-X>) are reachable, 1 if some (or too many with B<-x> or B<-X>) hosts
 were unreachable, 2 if any IP addresses were not found, 3 for invalid command
 line arguments, and 4 for a system call failure.