2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

Default to all for OpenBMC reventlog verbose

This commit is contained in:
Mark Gurevich
2020-01-07 14:00:05 -05:00
parent 8192d159d1
commit 773ef33235

View File

@ -448,7 +448,7 @@ sub refactor_args {
}
}
if ($command eq "reventlog") {
if (!defined($extrargs->[0])) {
if ((!defined($extrargs->[0])) or ($extrargs->[0] =~ /^-V/)) {
# If no parameters are passed, default to list all records
$request->{arg} = ["list","all"];
}