[master] cf71ad8e9 man: There is no optional argument in vcl.state

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 6 16:50:07 UTC 2023


commit cf71ad8e9b985ab0d708ec0e4bfc3ac701da2ec1
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 6 17:48:28 2023 +0100

    man: There is no optional argument in vcl.state
    
    The square brackets were probably the result of copy-pasta from vcl.load
    where the initial state is indeed optional.

diff --git a/include/tbl/cli_cmds.h b/include/tbl/cli_cmds.h
index d62774e3d..b4b9c3194 100644
--- a/include/tbl/cli_cmds.h
+++ b/include/tbl/cli_cmds.h
@@ -91,7 +91,7 @@ CLI_CMD(VCL_INLINE,
 
 CLI_CMD(VCL_STATE,
 	"vcl.state",
-	"vcl.state <configname> [auto|cold|warm]",
+	"vcl.state <configname> auto|cold|warm",
 	"  Force the state of the named configuration.",
 	"",
 	2, 2


More information about the varnish-commit mailing list