From 108899b48f6d8145d4126d25330f46efb9585dd0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 10 Jan 2018 15:48:59 +0100 Subject: [PATCH] qm showcmd --pretty: indent new lines by 2 spaces Signed-off-by: Wolfgang Bumiller --- PVE/CLI/qm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index 687618a..564e443 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -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"; -- 2.39.2