Added --poll (and -p short) to the help page
This commit is contained in:
parent
80142da589
commit
e14df6a75d
4
UApp.pas
4
UApp.pas
|
@ -111,7 +111,7 @@ begin
|
||||||
if HasOption('html') then
|
if HasOption('html') then
|
||||||
FWriter.Add(THTMLWriter.Create(GetOptionValue('html')));
|
FWriter.Add(THTMLWriter.Create(GetOptionValue('html')));
|
||||||
|
|
||||||
if HasOption('poll') then
|
if HasOption('p', 'poll') then
|
||||||
PollFile(FLogFileName)
|
PollFile(FLogFileName)
|
||||||
else
|
else
|
||||||
DumpFile(FLogFileName);
|
DumpFile(FLogFileName);
|
||||||
|
@ -381,6 +381,8 @@ begin
|
||||||
Writeln(' specifies the filename with filter commands');
|
Writeln(' specifies the filename with filter commands');
|
||||||
Writeln(' -f --logfile=<filename>');
|
Writeln(' -f --logfile=<filename>');
|
||||||
Writeln(' specifies the logfile to be parsed');
|
Writeln(' specifies the logfile to be parsed');
|
||||||
|
Writeln(' -p --poll');
|
||||||
|
Writeln(' keep the log file open and wait for data');
|
||||||
Writeln(' --html=<filename>');
|
Writeln(' --html=<filename>');
|
||||||
Writeln(' outputs filtered results in a formatted HTML file');
|
Writeln(' outputs filtered results in a formatted HTML file');
|
||||||
Writeln(' -h --help');
|
Writeln(' -h --help');
|
||||||
|
|
Loading…
Reference in New Issue