[6.0] dadff02b9 varnishtop -d does not exit by itself
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:18 UTC 2018
commit dadff02b91f75558fb92c7e1b58013dc0bdb0a69
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Jul 4 16:19:15 2018 +0200
varnishtop -d does not exit by itself
Unless -1 is used too, but -1 already implies -d so it doesn't really
count.
Fixes #2721
diff --git a/bin/varnishtop/varnishtop_options.h b/bin/varnishtop/varnishtop_options.h
index ebf8912c1..6605d463a 100644
--- a/bin/varnishtop/varnishtop_options.h
+++ b/bin/varnishtop/varnishtop_options.h
@@ -37,6 +37,11 @@
" statistics once and exit. Implies ``-d``." \
)
+#define TOP_OPT_d \
+ VOPT("d", "[-d]", "Process old log entries", \
+ "Process log records at the head of the log." \
+ )
+
#define TOP_OPT_f \
VOPT("f", "[-f]", "First field only", \
"Sort and group only on the first field of each log entry." \
@@ -59,7 +64,7 @@ TOP_OPT_1
VSL_OPT_b
VSL_OPT_c
VSL_OPT_C
-VUT_OPT_d
+TOP_OPT_d
TOP_OPT_f
VUT_OPT_g
VUT_OPT_h
More information about the varnish-commit
mailing list