From 773ef3323596f8b291d733ae59675f0da729c03d Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 7 Jan 2020 14:00:05 -0500 Subject: [PATCH] Default to all for OpenBMC reventlog verbose --- xCAT-server/lib/xcat/plugins/openbmc2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc2.pm b/xCAT-server/lib/xcat/plugins/openbmc2.pm index f48817a26..6bf4f8e28 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc2.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc2.pm @@ -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"]; }