[master] 405e771 Document vcl.state and correct existing mention

Federico G. Schwindt fgsch at lodoss.net
Thu Oct 15 00:19:38 CEST 2015


commit 405e7711387bd4429fda757b2909524cebe837a6
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Wed Oct 14 23:13:42 2015 +0100

    Document vcl.state and correct existing mention
    
    Partially addresses #1795.

diff --git a/doc/sphinx/reference/varnish-cli.rst b/doc/sphinx/reference/varnish-cli.rst
index 9a2d0de..934ff1e 100644
--- a/doc/sphinx/reference/varnish-cli.rst
+++ b/doc/sphinx/reference/varnish-cli.rst
@@ -119,6 +119,10 @@ vcl.list
 vcl.show [-v] <configname>
   Display the source code for the specified configuration.
 
+vcl.state <configname> <state>
+  Force the state of the specified configuration.
+  State is any of auto, warm or cold values.
+
 param.show [-l] [<param>]
   Show parameters and their values.
 
diff --git a/doc/sphinx/whats-new/changes.rst b/doc/sphinx/whats-new/changes.rst
index d9b0825..22e61a0 100644
--- a/doc/sphinx/whats-new/changes.rst
+++ b/doc/sphinx/whats-new/changes.rst
@@ -44,11 +44,12 @@ Output from `vcl.list`::
     available  auto/warm       0 62f5275f-a937-4df9-9fbb-c12336bdfdb8
 
 
-A single VCL's state can be chanced with the `vcl.state` call in
+A single VCL's state can be changed with the `vcl.state` call in
 ``varnishadm``::
 
-    vcl.state <configname> [auto|cold|warm]
-        Force the state of the named configuration.
+    vcl.state <configname> <state>
+        Force the state of the specified configuration.
+        State is any of auto, warm or cold values.
 
 Example::
 



More information about the varnish-commit mailing list