From: Lennart Poettering Date: Fri, 12 Jan 2024 14:37:43 +0000 (+0100) Subject: vmspawn: fix empty lines before section titles in --help text X-Git-Tag: v256-rc1~1172^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d748d7c99887a064516315d8dbe4b07be057616;p=thirdparty%2Fsystemd.git vmspawn: fix empty lines before section titles in --help text Always put an empty line before section titles (one was missing so far) --- diff --git a/src/vmspawn/vmspawn.c b/src/vmspawn/vmspawn.c index 4ccda8bae8b..a2784106363 100644 --- a/src/vmspawn/vmspawn.c +++ b/src/vmspawn/vmspawn.c @@ -69,11 +69,11 @@ static int help(void) { "%5$sSpawn a command or OS in a virtual machine.%6$s\n\n" " -h --help Show this help\n" " --version Print version string\n" - " --no-pager Do not pipe output into a pager\n\n" - "%3$sImage:%4$s\n" + " --no-pager Do not pipe output into a pager\n" + "\n%3$sImage:%4$s\n" " -i --image=PATH Root file system disk image (or device node) for\n" - " the virtual machine\n\n" - "%3$sHost Configuration:%4$s\n" + " the virtual machine\n" + "\n%3$sHost Configuration:%4$s\n" " --qemu-smp=SMP Configure guest's SMP settings\n" " --qemu-mem=MEM Configure guest's RAM size\n" " --qemu-kvm=BOOL Configure whether to use KVM or not\n" @@ -81,10 +81,10 @@ static int help(void) { " --vsock-cid= Specify the CID to use for the qemu guest's vsock\n" " --qemu-gui Start QEMU in graphical mode\n" " --secure-boot=BOOL Configure whether to search for firmware which\n" - " supports Secure Boot\n\n" - "%3$sSystem Identity:%4$s\n" + " supports Secure Boot\n" + "\n%3$sSystem Identity:%4$s\n" " -M --machine=NAME Set the machine name for the container\n" - "%3$sCredentials:%4$s\n" + "\n%3$sCredentials:%4$s\n" " --set-credential=ID:VALUE\n" " Pass a credential with literal value to container.\n" " --load-credential=ID:PATH\n"