[4.1] 2f2e50e improve documentation for ban.list

Lasse Karstensen lkarsten at varnish-software.com
Thu Feb 11 17:14:33 CET 2016


commit 2f2e50e49272815076c4e94aa1a17fcfed17dd02
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Feb 10 14:31:01 2016 +0100

    improve documentation for ban.list

diff --git a/doc/sphinx/reference/varnish-cli.rst b/doc/sphinx/reference/varnish-cli.rst
index 3149b83..ac671ce 100644
--- a/doc/sphinx/reference/varnish-cli.rst
+++ b/doc/sphinx/reference/varnish-cli.rst
@@ -149,7 +149,23 @@ ban <field> <operator> <arg> [&& <field> <oper> <arg> ...]
   Mark obsolete all objects where all the conditions match.
 
 ban.list
-  List the active bans.
+  List the active bans. The output format is:
+
+  * time the ban was issued
+
+  * reference count
+
+  * ``C`` for completed bans (replaced by a newer ban) or ``-``
+
+  * if ``lurker`` debugging is enabled
+
+    * ``R`` for bans on request properties or ``-``
+
+    * ``O`` for bans on object properties or ``-``
+
+    * pointer to the ban object
+
+  * ban specification
 
 Backend Expression
 ------------------



More information about the varnish-commit mailing list