]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptenroll: use [] in --help text to indicate block device argument is now optional
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2024 10:55:17 +0000 (12:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2024 13:23:44 +0000 (15:23 +0200)
src/cryptenroll/cryptenroll.c

index 9ace8c1e90a2a3906dfc943bdf68457b17066389..dd7ce28aa3d063ccab05e2a324902af8ec44671b 100644 (file)
@@ -171,7 +171,7 @@ static int help(void) {
         if (r < 0)
                 return log_oom();
 
-        printf("%1$s [OPTIONS...] BLOCK-DEVICE\n\n"
+        printf("%1$s [OPTIONS...] [BLOCK-DEVICE]\n\n"
                "%5$sEnroll a security token or authentication credential to a LUKS volume.%6$s\n\n"
                "  -h --help            Show this help\n"
                "     --version         Show package version\n"