[Varnish] #1496: vsl_mask is annoying to use from varnishadm commandline

Varnish varnish-bugs at varnish-cache.org
Mon May 12 14:07:09 CEST 2014

#1496: vsl_mask is annoying to use from varnishadm commandline
 Reporter:  dormando    |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect      |      Status:  closed
 Priority:  normal      |   Milestone:
Component:  varnishadm  |     Version:  unknown
 Severity:  normal      |  Resolution:  fixed
 Keywords:              |
Changes (by Poul-Henning Kamp <phk@…>):

 * status:  new => closed
 * owner:   => Poul-Henning Kamp <phk@…>
 * resolution:   => fixed


 In [1af9e045df49393eba0951c67b65c924ab128f8f]:
 #!CommitTicketReference repository=""
 By default linux::getopt(3) mangles the argv order, such that

         varnishadm -n bla param.set foo -bar

 gets interpreted as

         varnishadm -n bla -bar param.set foo

 This is counterintuitive and invites random script breaking if people
 don't know they have to add an ornamental '--' in front of the CLI command
 in Linux systems.

 This commit makes Linux work the same way as every other POSIX system.

 Fixes   #1496

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1496#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list