[4.0] 90f6391 Unhide vcl.show from 'help' output, it was hidden due to overzealous copy&paste.

Lasse Karstensen lkarsten at varnish-software.com
Wed Oct 8 09:44:39 CEST 2014


commit 90f63914fcd88413a4ccf2d216444cce6f725ccf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 2 20:40:51 2014 +0000

    Unhide vcl.show from 'help' output, it was hidden due to overzealous
    copy&paste.
    
    Spotted by:	scn

diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 43c28c4..2f7c1b9 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -490,7 +490,7 @@ static struct cli_proto vcl_cmds[] = {
 	{ CLI_VCL_LIST,         "i", ccf_config_list },
 	{ CLI_VCL_DISCARD,      "i", ccf_config_discard },
 	{ CLI_VCL_USE,          "i", ccf_config_use },
-	{ CLI_VCL_SHOW,		"i", ccf_config_show },
+	{ CLI_VCL_SHOW,		"", ccf_config_show },
 	{ NULL }
 };
 



More information about the varnish-commit mailing list