From ffefedefa9543f9bbdbf7d93a8a66fe4a6b96a2f Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Thu, 15 Aug 2013 12:40:06 +0000 Subject: Added %a option, allowing to define the "Accept:" header line. Added %X option, to define additional request header lines. Cleaned up a bit the messy strcat everywhere in the request section (yuk). --- src/htshelp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/htshelp.c') diff --git a/src/htshelp.c b/src/htshelp.c index 488a769..a34a324 100644 --- a/src/htshelp.c +++ b/src/htshelp.c @@ -576,6 +576,8 @@ void help(char *app, int more) { infomsg (" %F footer string in Html code (-%F \"Mirrored [from host %s [file %s [at %s]]]\""); infomsg(" %l preffered language (-%l \"fr, en, jp, *\""); + infomsg(" %a accepted formats (-%l \"text/html,image/png,image/jpeg,image/gif;q=0.9,*/*;q=0.1\""); + infomsg(" %X additional HTTP header line (-%X \"X-Magic: 42\""); infomsg(""); infomsg("Log, index, cache"); infomsg -- cgit v1.2.3