]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
creds: add short comment that has-tpm2 is moved
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Sep 2024 18:20:53 +0000 (03:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Sep 2024 18:22:04 +0000 (03:22 +0900)
Follow-up for 58e359604ffdca12bb4d2c5807b96e070611c0f6.

src/creds/creds.c

index 5218f66eca8f774ad5a1f4f9de53ec85844064c7..3d9510c99f1f2fe0cf286ac3708575f8a8a90e02 100644 (file)
@@ -1046,7 +1046,7 @@ static int creds_main(int argc, char *argv[]) {
                 { "decrypt",  2,        3,        0,            verb_decrypt  },
                 { "setup",    VERB_ANY, 1,        0,            verb_setup    },
                 { "help",     VERB_ANY, 1,        0,            verb_help     },
-                { "has-tpm2", VERB_ANY, 1,        0,            verb_has_tpm2 },
+                { "has-tpm2", VERB_ANY, 1,        0,            verb_has_tpm2 }, /* for backward compatibility */
                 {}
         };