2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #5043 from robin2008/verbose

when no server name infor with --verbose, but -…
This commit is contained in:
xuweibj 2018-04-02 16:51:01 +08:00 committed by GitHub
commit 1d65e24579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}