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');