mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Fix the issue (#5041) when no server name infor with --verbose, but -V does
This commit is contained in:
parent
b8c546051e
commit
c99b50d5dc
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user