diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-15 12:40:06 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-15 12:40:06 +0000 |
commit | ffefedefa9543f9bbdbf7d93a8a66fe4a6b96a2f (patch) | |
tree | bd98d9743a29ee7a70bf9b17981a1e311212d435 /src/htshelp.c | |
parent | 84cdc70b4a00a7a2938ff8f3c782cfd78ab069b8 (diff) |
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).
Diffstat (limited to 'src/htshelp.c')
-rw-r--r-- | src/htshelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |