From 57be982d93bce63e77d649d60cf1922e63b53f81 Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <andreas.romeyke@slub-dresden.de> Date: Thu, 10 Nov 2022 15:02:53 +0100 Subject: [PATCH] - fixed descriptions --- lib/SLUB/LZA/Rosetta/TA/Command/log.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm index df68b3b..4a473c3 100644 --- a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm +++ b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm @@ -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=>".*"}], ); } -- GitLab