varnish / hitch

A scalable TLS proxy by Varnish Software.
https://www.varnish-software.com/
Other
1.87k stars 157 forks source link

Unrecognized command-line option '--backend-refresh' #383

Open xavierog opened 9 months ago

xavierog commented 9 months ago

hitch(8) advertises: https://github.com/varnish/hitch/blob/a922f128f46be1f60a03d9dfa3198f4b45508773/hitch.man.rst?plain=1#L109

and so does the hitch binary itself:

https://github.com/varnish/hitch/blob/a922f128f46be1f60a03d9dfa3198f4b45508773/src/configuration.c#L1407

but the command-line option actually lacks a dash- between backend and refresh: --backendrefresh=SECS:

https://github.com/varnish/hitch/blob/a922f128f46be1f60a03d9dfa3198f4b45508773/src/configuration.c#L51

gquintard commented 6 months ago

@daghf, I can open a PR for this. Do you prefer a docfix, or do we change the code?