]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix help text for systemd-creds tool's "list" verb
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Sep 2024 08:55:52 +0000 (10:55 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 11 Sep 2024 13:21:21 +0000 (15:21 +0200)
I guess this was copy/pasted from sysupdate? Weird though. Fix it. And
also reword "cat" help text to make it more precise.

src/creds/creds.c

index be98e74915cbe2e03e29a22d9d8c1aab01b24fbe..7eec323b9ffd6053c856969c5e93bf021f4d5053 100644 (file)
@@ -732,8 +732,8 @@ static int verb_help(int argc, char **argv, void *userdata) {
         printf("%1$s [OPTIONS...] COMMAND ...\n"
                "\n%5$sDisplay and Process Credentials.%6$s\n"
                "\n%3$sCommands:%4$s\n"
-               "  list                    Show installed and available versions\n"
-               "  cat CREDENTIAL...       Show specified credentials\n"
+               "  list                    Show list of passed credentials\n"
+               "  cat CREDENTIAL...       Show contents of specified credentials\n"
                "  setup                   Generate credentials host key, if not existing yet\n"
                "  encrypt INPUT OUTPUT    Encrypt plaintext credential file and write to\n"
                "                          ciphertext credential file\n"