From: des Date: Sun, 17 Sep 2006 08:39:37 +0000 (+0000) Subject: Update the parameter list in the man page, and add reminders to keep the X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43d991edff91d430643b2b320f5d94bd2fa61ce6;p=varnish Update the parameter list in the man page, and add reminders to keep the lists in synch. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1044 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index c587c517..219b353c 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -318,9 +318,13 @@ tweak_srcaddr_ttl(struct cli *cli, struct parspec *par, const char *arg) #define EXPERIMENTAL \ "\nNB: We don't know yet if it is a good idea to change " \ - "this parameter. Caution adviced.\n" + "this parameter. Caution advised.\n" +/* + * Remember to update varnishd.1 whenever you add / remove a parameter or + * change its default value. + */ static struct parspec parspec[] = { { "default_ttl", tweak_default_ttl, "The TTL assigned to objects if neither the backend nor " diff --git a/varnish-cache/bin/varnishd/varnishd.1 b/varnish-cache/bin/varnishd/varnishd.1 index 6adb2db7..1eb53ed9 100644 --- a/varnish-cache/bin/varnishd/varnishd.1 +++ b/varnish-cache/bin/varnishd/varnishd.1 @@ -200,6 +200,7 @@ The following commands are available: .It Cm vcl.use Ar configname .El .Ss Run-Time Parameters +.\" Keep in synch with parspec[] in mgt_param.c .Bl -tag -width=4 .It Va auto_restart .It Va default_ttl @@ -208,11 +209,14 @@ The following commands are available: .It Va listen_address .It Va listen_depth .It Va pipe_timeout -.It Va send_timeout .It Va sendfile_threshold +.It Va send_timeout .It Va sess_timeout +.It Va srcaddr_hash +.It Va srcaddr_ttl .It Va thread_pool_max .It Va thread_pool_min +.It Va thread_pools .It Va thread_pool_timeout .It Va vcl_trace .El