2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 19:40:10 +00:00

Merge pull request #6521 from gurevichmark/python_reventlog_verbose

Default to all for OpenBMC reventlog verbose
This commit is contained in:
besawn 2020-01-09 15:08:57 -05:00 committed by GitHub
commit 01a02a833b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"];
}