CONTRIB: halog: Add help text for -s switch in halog program

It was not documented. May be backported to older releases.
This commit is contained in:
Aleksandar Lazic 2017-12-05 01:35:21 +01:00 committed by Willy Tarreau
parent d16f450c98
commit f2b5d75ae2
1 changed files with 5 additions and 1 deletions

View File

@ -180,6 +180,9 @@ void help()
" -v invert the input filtering condition\n"
" -q don't report errors/warnings\n"
" -m <lines> limit output to the first <lines> lines\n"
" -s <skip_n_fields> skip n fields from the beginning of a line (default %d)\n"
" you can also use -n to start from earlier then field %d\n"
"\n"
"Output filters - only one may be used at a time\n"
" -c only report the number of lines that would have been printed\n"
" -pct output connect and response times percentiles\n"
@ -192,7 +195,8 @@ void help()
" -u : by URL, -uc : request count, -ue : error count\n"
" -ua : average response time, -ut : average total time\n"
" -uao, -uto: average times computed on valid ('OK') requests\n"
" -uba, -ubt: average bytes returned, total bytes returned\n"
" -uba, -ubt: average bytes returned, total bytes returned\n",
SOURCE_FIELD,SOURCE_FIELD
);
exit(0);
}