From c99b50d5dc7188a646d24620b195b3ef9964cbd2 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Mon, 2 Apr 2018 16:04:44 +0800 Subject: [PATCH] Fix the issue (#5041) when no server name infor with --verbose, but -V does --- xCAT-client/bin/xcatclient | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/xcatclient b/xCAT-client/bin/xcatclient index 7f68579c9..aeb0b7124 100755 --- a/xCAT-client/bin/xcatclient +++ b/xCAT-client/bin/xcatclient @@ -102,9 +102,9 @@ foreach (keys %ENV) { } } -# Allow to print server information when -V +# Allow to print server information when -V/--verbose foreach (reverse(@ARGV)) { - if ($_ eq '-V') { + if ($_ eq '-V' || $_ eq '--verbose') { $ENV{'XCATSHOWSVR'} = 1; last; }