tabprune -a supports all tables
This commit is contained in:
parent
fe38638b4b
commit
5afd870cef
@ -957,7 +957,7 @@ sub tabprune
|
||||
push @{$rsp{data}}, " tabprune <tablename> [-V] -d <# of days>";
|
||||
push @{$rsp{data}}, " tabprune [-h|--help]";
|
||||
push @{$rsp{data}}, " tabprune [-v|--version]";
|
||||
push @{$rsp{data}}, " tables supported:eventlog,auditlog";
|
||||
push @{$rsp{data}}, " tables supported:eventlog,auditlog,unless -a which supports all tables";
|
||||
push @{$rsp{data}}, " -d option only supported for eventlog,auditlog";
|
||||
if ($exitcode) { $rsp{errorcode} = $exitcode; }
|
||||
$cb->(\%rsp);
|
||||
@ -997,7 +997,7 @@ sub tabprune
|
||||
|
||||
}
|
||||
$table=~ s/\s*//g; # remove blanks
|
||||
if (($table ne "eventlog") && ($table ne "auditlog") && ($table ne "isnm_perf") && ($table ne "isnm_perf_sum") ) {
|
||||
if (($table ne "eventlog") && ($table ne "auditlog") && ($table ne "isnm_perf") && ($table ne "isnm_perf_sum") && (! $ALL)) {
|
||||
my %rsp;
|
||||
$rsp{data}->[0] = "Table $table not supported, see tabprune -h for supported tables.";
|
||||
$rsp{errorcode} = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user