From e14df6a75d0a816707d861b8e113f0d94bca1b65 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 28 Sep 2015 09:29:54 +0200 Subject: [PATCH] Added --poll (and -p short) to the help page --- UApp.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UApp.pas b/UApp.pas index 90a8ff3..ed6a060 100644 --- a/UApp.pas +++ b/UApp.pas @@ -111,7 +111,7 @@ begin if HasOption('html') then FWriter.Add(THTMLWriter.Create(GetOptionValue('html'))); - if HasOption('poll') then + if HasOption('p', 'poll') then PollFile(FLogFileName) else DumpFile(FLogFileName); @@ -381,6 +381,8 @@ begin Writeln(' specifies the filename with filter commands'); Writeln(' -f --logfile='); Writeln(' specifies the logfile to be parsed'); + Writeln(' -p --poll'); + Writeln(' keep the log file open and wait for data'); Writeln(' --html='); Writeln(' outputs filtered results in a formatted HTML file'); Writeln(' -h --help');