From 36b652b358d776c96680788d571e2c13903a00e3 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Sun, 30 Jan 2022 13:30:05 +0100 Subject: [PATCH] Improve -Q documentation The `-Q, --squiet=SECS` option does not replace the summary statistics of `-q, --quiets`, but adds interval summary statistics every SECS seconds to the output. --- doc/fping.pod | 3 ++- src/fping.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/fping.pod b/doc/fping.pod index 32bbd64..7702df1 100644 --- a/doc/fping.pod +++ b/doc/fping.pod @@ -178,7 +178,8 @@ show ICMP error messages. =item B<-Q>, B<--squiet>=I -Like B<-q>, but show summary results every n seconds. +Like B<-q>, but additionally show interval summary results every I +seconds. =item B<-r>, B<--retry>=I diff --git a/src/fping.c b/src/fping.c index 3deeca6..d76b23c 100644 --- a/src/fping.c +++ b/src/fping.c @@ -2939,7 +2939,7 @@ void usage(int is_error) fprintf(out, " -N, --netdata output compatible for netdata (-l -Q are required)\n"); fprintf(out, " -o, --outage show the accumulated outage time (lost packets * packet interval)\n"); fprintf(out, " -q, --quiet quiet (don't show per-target/per-ping results)\n"); - fprintf(out, " -Q, --squiet=SECS same as -q, but show summary every n seconds\n"); + fprintf(out, " -Q, --squiet=SECS same as -q, but add interval summary every SECS seconds\n"); fprintf(out, " -s, --stats print final stats\n"); fprintf(out, " -u, --unreach show targets that are unreachable\n"); fprintf(out, " -v, --version show version\n"); -- 2.43.0