From 4955d2e36706bba9ba6595b0c5babb8f17f13465 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 May 2024 12:57:33 +0200 Subject: [PATCH] repart,measure: reword help descriptions This is a follow-up/extension for ec361ea9ce0344321a6877d4d69a85db0c5bca4a. --- src/boot/measure.c | 4 ++-- src/partition/repart.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/boot/measure.c b/src/boot/measure.c index 8c201de0f0..a6d27a712a 100644 --- a/src/boot/measure.c +++ b/src/boot/measure.c @@ -80,8 +80,8 @@ static int help(int argc, char *argv[], void *userdata) { " --tpm2-device=PATH Use specified TPM2 device\n" " --private-key=KEY Private key (PEM) to sign with\n" " --private-key-source=file|provider:PROVIDER|engine:ENGINE\n" - " Specify how to use the --private-key=. Allows one to use\n" - " an OpenSSL engine/provider when signing\n" + " Specify how to use KEY for --private-key=. Allows\n" + " an OpenSSL engine/provider to be used for signing\n" " --public-key=KEY Public key (PEM) to validate against\n" " --certificate=PATH PEM certificate to use when signing with a URI\n" " --json=MODE Output as JSON\n" diff --git a/src/partition/repart.c b/src/partition/repart.c index b50b9b6206..4196576daa 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -6918,11 +6918,11 @@ static int help(void) { " --private-key=PATH|URI\n" " Private key to use when generating verity roothash\n" " signatures, or an engine or provider specific\n" - " designation if --private-key-source= is used.\n" + " designation if --private-key-source= is used\n" " --private-key-source=file|provider:PROVIDER|engine:ENGINE\n" - " Specify how to use the --private-key=. Allows one to\n" - " use an OpenSSL engine/provider when generating\n" - " verity roothash signatures\n" + " Specify how to use KEY for --private-key=. Allows\n" + " an OpenSSL engine/provider to be used for when\n" + " generating verity roothash signatures\n" " --certificate=PATH PEM certificate to use when generating verity\n" " roothash signatures\n" " --tpm2-device=PATH Path to TPM2 device node to use\n" -- 2.25.1