BUG/MINOR: init: -x can have a parameter starting with a dash
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 4 Jun 2020 21:41:29 +0000 (23:41 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 5 Jun 2020 17:07:16 +0000 (19:07 +0200)
commit6947f1921d3ed197f47325a66976960409d47cf7
treeefdaa35638d76b9cabd0e4a1f8056465f4976e2c
parentf21e0a15c2abbe4e88882d26e25f5d62ee27ed35
BUG/MINOR: init: -x can have a parameter starting with a dash

There is no reason the -x option can't take an argument which starts with
a -. This limitation must only be used for options that take a
non-finite list of parameters (-sf/-st)

This can be backported only if the previous patch which fixes
copy_argv() is backported too.

Could be backported as far as 1.8.

(cherry picked from commit 4f71d304aad5199d9a0179deb34241b4a3665740)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
src/haproxy.c