[master] d30ea85 Also update the CLI command definitions

Poul-Henning Kamp phk at FreeBSD.org
Sat Mar 7 14:32:39 CET 2015


commit d30ea85ffd586a9e1480de64e494a17a647e244f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Mar 7 11:39:37 2015 +0000

    Also update the CLI command definitions

diff --git a/include/vcli.h b/include/vcli.h
index 19dace3..5bc604c 100644
--- a/include/vcli.h
+++ b/include/vcli.h
@@ -60,15 +60,15 @@
 
 #define CLI_VCL_LOAD							\
 	"vcl.load",							\
-	"vcl.load <configname> <filename>",				\
+	"vcl.load <configname> <filename> [*auto,cold,warm]",		\
 	"\tCompile and load the VCL file under the name provided.",	\
-	2, 2
+	2, 3
 
 #define CLI_VCL_INLINE							\
 	"vcl.inline",							\
-	"vcl.inline <configname> <quoted_VCLstring>",			\
+	"vcl.inline <configname> <quoted_VCLstring> [*auto,cold,warm]",	\
 	"\tCompile and load the VCL data under the name provided.",	\
-	2, 2
+	2, 3
 
 #define CLI_VCL_DISCARD							\
 	"vcl.discard",							\



More information about the varnish-commit mailing list