Skip to content
Snippets Groups Projects
Commit 57be982d authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed descriptions

parent d4533ad8
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,9 @@ Examples:
* What are the error messages in last 24 hours?
$0 log --level error --last-24h
* What are error and warning messages between 2022-01-01 and 2022-02-01?
$0 log --level error --level warning --fromdate 2022-ß1-01 --todate 2021-02-ß1
* Are there lines with regex "match"?
$0 log --match "match"
$0 log --level error --level warning --fromdate 2022-01-01 --todate 2021-02-01
* Are there lines with regex "ma[tc]?h"?
$0 log --match "ma[tc]?h"
DESCR
sub description {
......@@ -38,7 +38,7 @@ sub opt_spec {
["last-24h" => "search within last 24h"],
["fromdate=s" => "search starting with date"],
["todate=s" => "search ending with date"],
["level=s@" => "levels to search for. Levels could be: 'error', 'warn', 'info', debug. You could use multiple levels by repeating"],
["level=s@" => "levels to search for. Levels could be: 'error', 'warn', 'info', 'debug'. You could use multiple levels by repeating"],
["match=s" => "perl regex to search for" => {default=>".*"}],
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment