mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 20:36:20 +00:00
qm showcmd --pretty: indent new lines by 2 spaces
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
16a01738cb
commit
108899b48f
@ -132,7 +132,7 @@ __PACKAGE__->register_method ({
|
||||
my $storecfg = PVE::Storage::config();
|
||||
my $cmdline = PVE::QemuServer::vm_commandline($storecfg, $param->{vmid});
|
||||
|
||||
$cmdline =~ s/ -/ \\\n-/g if $param->{pretty};
|
||||
$cmdline =~ s/ -/ \\\n -/g if $param->{pretty};
|
||||
|
||||
print "$cmdline\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user