diff --git a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm index 4187f1e25b7cff905e27bd2d1b533c2ecc7388c0..8953a2d732995e54822ebb9e4018734fa8012cf5 100644 --- a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm +++ b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm @@ -22,7 +22,7 @@ Examples: * Are there lines with regex "ma[tc]?h"? $0 log --match "ma[tc]?h" * Give me a trace of specific sip - $0 log --trace-sip sip293144 + $0 log --trace sip293144 DESCR sub description { @@ -41,7 +41,7 @@ sub opt_spec { ["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"], ["match=s" => "perl regex to search for" => {default=>".*"}], - ["trace-sip=s" => "trace a sip with given ID (SIP-ID or Deposit-ID)"], + ["trace=s" => "trace a sip/IE with given ID (SIP-ID or Deposit-ID or IE PID)"], ); } @@ -125,8 +125,8 @@ sub execute { } # prepare trace my $with_trace; - if (defined $opt->trace_sip) { - $with_trace = $opt->trace_sip; + if (defined $opt->trace) { + $with_trace = $opt->trace; if (defined $opt->colorize) { $output_filter = sub { colorize($_[0], $opt, $match_rx); }; } else {