]> err.no Git - varnish/commitdiff
Sort options correctly.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 12:43:11 +0000 (12:43 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 12:43:11 +0000 (12:43 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1015 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/varnishd.1
varnish-cache/bin/varnishd/varnishd.c

index f14f629454035804101c416fe73d7966fa1e9445..6adb2db723215ea5760697c98ebe460120816269 100644 (file)
@@ -16,8 +16,8 @@
 .Op Fl h Ar type Ns Op , Ns Ar options
 .Op Fl p Ar param Ns = Ns Ar value
 .Op Fl s Ar type Ns Op , Ns Ar options
-.Op Fl t Ar ttl
 .Op Fl T Ar address Ns Op : Ns Ar port
+.Op Fl t Ar ttl
 .Op Fl V
 .Op Fl w Ar min Ns Op , Ns Ar max Ns Op , Ns Ar timeout
 .Sh DESCRIPTION
@@ -78,8 +78,6 @@ Use the specified storage backend.
 See
 .Sx Storage Types
 for a list of supported storage types.
-.It Fl t Ar ttl
-Specifies a hard minimum time to live for cached documents.
 .It Fl T Ar address Ns Op : Ns Ar port
 Offer a management interface on the specified
 .Ar address
@@ -88,6 +86,8 @@ and
 See
 .Sx Management Interface
 for a list of management commands.
+.It Fl t Ar ttl
+Specifies a hard minimum time to live for cached documents.
 .It Fl V
 Display the version number and exit.
 .It Fl w Ar min Ns Op , Ns Ar max Ns Op , Ns Ar timeout
index 60db14d4145a84687bb18b13b9c114acfef5b4e1..f68b6510c6f76e18eda9b42c509e8451d015fc0f 100644 (file)
@@ -359,7 +359,7 @@ main(int argc, char *argv[])
        MCF_ParamInit(cli);
        cli_check(cli);
 
-       while ((o = getopt(argc, argv, "a:b:df:h:p:s:t:T:Vw:")) != -1)
+       while ((o = getopt(argc, argv, "a:b:df:h:p:s:T:t:Vw:")) != -1)
                switch (o) {
                case 'a':
                        MCF_ParamSet(cli, "listen_address", optarg);