]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/CLI/qm.pm
qm showcmd --pretty: indent new lines by 2 spaces
[qemu-server.git] / PVE / CLI / qm.pm
index 687618a905ac8968b386d10784b14358c2a18242..564e443951bf9c5356ed4cf37195e6464036e039 100755 (executable)
@@ -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";