[master] 97de384b2 Document the 'changed' parameter for param.show.

Geoff Simmons geoff at uplex.de
Tue Sep 25 08:12:12 UTC 2018


commit 97de384b2f8209d1766f57828d8ad1631f3fe51e
Author: Geoff Simmons <geoff at uplex.de>
Date:   Tue Sep 25 10:10:39 2018 +0200

    Document the 'changed' parameter for param.show.

diff --git a/include/tbl/cli_cmds.h b/include/tbl/cli_cmds.h
index d162bada5..7b3d1de19 100644
--- a/include/tbl/cli_cmds.h
+++ b/include/tbl/cli_cmds.h
@@ -134,9 +134,14 @@ CLI_CMD(VCL_LABEL,
 
 CLI_CMD(PARAM_SHOW,
 	"param.show",
-	"param.show [-l] [<param>]",
+	"param.show [-l] [<param>|changed]",
 	"Show parameters and their values.",
-	"",
+
+	"The long form with ``-l`` shows additional information, including"
+	" documentation and minimum, maximum and default values, if defined"
+	" for the parameter. If a parameter is specified with ``<param>``,"
+	" show only that parameter. If ``changed`` is specified, show only"
+	" those parameters whose values differ from their defaults.",
 	0, 2
 )
 


More information about the varnish-commit mailing list