mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-24 04:00:26 +00:00
[xCAT-client]xdshbak: make -x
match manpage
This commit is contained in:
@@ -236,7 +236,9 @@ sub print_list
|
||||
if (!$::opt_x) { ($num_hosts >= 1) && print "\n"; }
|
||||
$num_hosts++;
|
||||
|
||||
if ($::opt_x) { print "$hostname: $ls{$hostname}"; }
|
||||
if ($::opt_x) {
|
||||
map { print "$hostname: $_\n" } split(/\n/, $ls{$hostname});
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user