]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn: fix empty lines before section titles in --help text
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Jan 2024 14:37:43 +0000 (15:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Jan 2024 15:03:12 +0000 (16:03 +0100)
Always put an empty line before section titles (one was missing so far)

src/vmspawn/vmspawn.c

index 4ccda8bae8b8d8d1b5526c30ae8e961bdadd7d9c..a2784106363a2b46d5b400d26099880326e45182 100644 (file)
@@ -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"