]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tpm2-setup: drop the COMMAND placeholder from the help
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Oct 2023 16:04:26 +0000 (18:04 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Oct 2023 16:18:48 +0000 (18:18 +0200)
Since systemd-tpm2-setup doesn't expect any arguments.

src/tpm2-setup/tpm2-setup.c

index ebb956ab21412dd078912b0154b0df8f566eaed0..2f23fb162deca99db2d39c0a0aaa0cf86480f649 100644 (file)
@@ -32,7 +32,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...]\n"
                "\n%5$sSet up the TPM2 Storage Root Key (SRK).%6$s\n"
                "\n%3$sOptions:%4$s\n"
                "  -h --help               Show this help\n"