[master] 8c022f2 Redefine -g option to reflect the valid grouping types.

Martin Blix Grydeland martin at varnish-software.com
Tue Feb 25 15:58:40 CET 2014


commit 8c022f2def00ae8389ee00b681b40fd81c56abe4
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Tue Feb 25 15:00:27 2014 +0100

    Redefine -g option to reflect the valid grouping types.

diff --git a/bin/varnishhist/varnishhist_options.h b/bin/varnishhist/varnishhist_options.h
index bab592a..0a0e2b3 100644
--- a/bin/varnishhist/varnishhist_options.h
+++ b/bin/varnishhist/varnishhist_options.h
@@ -31,6 +31,12 @@
 #include "vapi/vapi_options.h"
 #include "vut_options.h"
 
+#define HIS_OPT_g							\
+	VOPT("g:", "[-g <request|vxid>]", "Grouping mode",		\
+	    "The grouping of the log records. The default is to group"	\
+	    " by vxid."							\
+	)
+
 #define HIS_OPT_p							\
 	VOPT("p:", "[-p period]", "Refresh period",			\
 	    "Specified the number of seconds between screen refreshes."	\
@@ -50,7 +56,7 @@
 
 VSL_OPT_C
 VUT_OPT_d
-VUT_OPT_g
+HIS_OPT_g
 VUT_OPT_h
 VSL_OPT_L
 VUT_OPT_n



More information about the varnish-commit mailing list