]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
creds: move -h/--help and --version to correct section in the help message 34419/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Sep 2024 18:21:41 +0000 (03:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Sep 2024 18:22:13 +0000 (03:22 +0900)
src/creds/creds.c

index 3d9510c99f1f2fe0cf286ac3708575f8a8a90e02..b55c60775c146b7d8457aafe64871bb625cad42b 100644 (file)
@@ -714,9 +714,9 @@ static int verb_help(int argc, char **argv, void *userdata) {
                "                          ciphertext credential file\n"
                "  decrypt INPUT [OUTPUT]  Decrypt ciphertext credential file and write to\n"
                "                          plaintext credential file\n"
+               "\n%3$sOptions:%4$s\n"
                "  -h --help               Show this help\n"
                "     --version            Show package version\n"
-               "\n%3$sOptions:%4$s\n"
                "     --no-pager           Do not pipe output into a pager\n"
                "     --no-legend          Do not show the headers and footers\n"
                "     --json=pretty|short|off\n"