[4.0] 2dc3e7e Fix formatting of -p option

Martin Blix Grydeland martin at varnish-software.com
Thu Mar 13 10:24:22 CET 2014


commit 2dc3e7ed476f4379b8be9c4662fd442c4845d399
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Wed Jan 29 17:28:32 2014 +0100

    Fix formatting of -p option

diff --git a/bin/varnishtop/varnishtop_options.h b/bin/varnishtop/varnishtop_options.h
index 5256b1d..51c877d 100644
--- a/bin/varnishtop/varnishtop_options.h
+++ b/bin/varnishtop/varnishtop_options.h
@@ -45,7 +45,7 @@
 	)
 
 #define TOP_OPT_p							\
-	VOPT("p:", "-p period", "Sampling period",			\
+	VOPT("p:", "[-p period]", "Sampling period",			\
 	    "Specified the number of seconds to measure over, the"	\
 	    " default is 60 seconds. The first number in the list is"	\
 	    " the average number of requests seen over this time"	\



More information about the varnish-commit mailing list