Added --poll (and -p short) to the help page

This commit is contained in:
Andreas Schneider 2015-09-28 09:29:54 +02:00
parent 80142da589
commit e14df6a75d
1 changed files with 3 additions and 1 deletions

View File

@ -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=<filename>');
Writeln(' specifies the logfile to be parsed');
Writeln(' -p --poll');
Writeln(' keep the log file open and wait for data');
Writeln(' --html=<filename>');
Writeln(' outputs filtered results in a formatted HTML file');
Writeln(' -h --help');