]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pcrphase: fix --help text
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Oct 2022 10:27:41 +0000 (12:27 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 17 Oct 2022 10:39:33 +0000 (12:39 +0200)
We don't take a command, we just take a "word" which we'll extend into
PCR 11.

src/boot/pcrphase.c

index 3be89bc28681003974621c0851e3737a5f7d4794..267f66767c6d480c89dc47da8226b6afc633fffb 100644 (file)
@@ -26,7 +26,7 @@ static int help(int argc, char *argv[], void *userdata) {
         if (r < 0)
                 return log_oom();
 
-        printf("%1$s  [OPTIONS...] COMMAND ...\n"
+        printf("%1$s  [OPTIONS...] WORD ...\n"
                "\n%5$sMeasure boot phase into TPM2 PCR 11.%6$s\n"
                "\n%3$sOptions:%4$s\n"
                "  -h --help              Show this help\n"