[4.0] 299bc3d Document varnishlog -w/-r with more details

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Jun 9 17:24:35 CEST 2015


commit 299bc3d6d0f12994a5722ee5b40279a0bba94c76
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jun 9 17:20:41 2015 +0200

    Document varnishlog -w/-r with more details
    
    Fixes #1742

diff --git a/bin/varnishlog/varnishlog_options.h b/bin/varnishlog/varnishlog_options.h
index 55b30c7..f97642a 100644
--- a/bin/varnishlog/varnishlog_options.h
+++ b/bin/varnishlog/varnishlog_options.h
@@ -38,7 +38,8 @@
 
 #define LOG_OPT_B							\
 	VOPT("B", "[-B]", "Binary output",				\
-	    "Output binary data suitable for reading with -r."		\
+	    "Output binary data suitable for reading with -r. The -w"	\
+	    " option specifies where the binary output is written."	\
 	)
 
 #define LOG_OPT_w							\
diff --git a/include/vut_options.h b/include/vut_options.h
index 9f01181..0a69254 100644
--- a/include/vut_options.h
+++ b/include/vut_options.h
@@ -81,7 +81,8 @@
 
 #define VUT_OPT_r							\
 	VOPT("r:", "[-r filename]", "Binary file input",		\
-	    "Read log in binary file format from this file."		\
+	    "Read log in binary file format from this file. The file"   \
+	    " can be created with ``varnishlog -B -w filename``."	\
 	)
 
 #define VUT_OPT_V							\



More information about the varnish-commit mailing list