From f6d2b678c90e4a3c8e29107dd56d2fdf40d517e4 Mon Sep 17 00:00:00 2001
From: Aleksandar Lazic <aleks@me2digital.com>
Date: Tue, 5 Dec 2017 01:35:21 +0100
Subject: MINOR: Add help text for -s switch in halog program

---
 contrib/halog/halog.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/halog/halog.c b/contrib/halog/halog.c
index cb815d8..fc336b4 100644
--- a/contrib/halog/halog.c
+++ b/contrib/halog/halog.c
@@ -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);
 }
-- 
2.7.4

