From 5566c314583f06d4aa2edf72ca7498ffa83964d8 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 3 Jul 2023 11:20:52 +0000 Subject: [PATCH] genprotimg: help|manpage: remove superfluous optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A default is always optional, therefore let's remove the superfluous "optional" statements. Reviewed-by: Steffen Eiden Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- genprotimg/man/genprotimg.1 | 4 ++-- genprotimg/src/pv/pv_args.c | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/genprotimg/man/genprotimg.1 b/genprotimg/man/genprotimg.1 index c723fcab..3d8f3aa1 100644 --- a/genprotimg/man/genprotimg.1 +++ b/genprotimg/man/genprotimg.1 @@ -104,11 +104,11 @@ secure, random, plaintext AES-256 GCM key. Optional. Enable PV guest dumps. Requires the \fB\-\-comm-key\fR option. Optional. .TP \fB\-\-disable\-dump\fR -Disable PV guest dumps. This is the default. Optional. +Disable PV guest dumps. This is the default. .TP \fB\-\-enable\-pckmo\fR Enable the support for the DEA, TDEA, AES, and ECC PCKMO key encryption -functions. This is the default. Optional. +functions. This is the default. .TP \fB\-\-disable\-pckmo\fR Disable the support for the DEA, TDEA, AES, and ECC PCKMO key encryption diff --git a/genprotimg/src/pv/pv_args.c b/genprotimg/src/pv/pv_args.c index bebe4d18..aa6d4228 100644 --- a/genprotimg/src/pv/pv_args.c +++ b/genprotimg/src/pv/pv_args.c @@ -329,12 +329,11 @@ gint pv_args_parse_options(PvArgs *args, gint *argc, gchar **argv[], dump, _("Enable PV guest dumps (optional). This option\n" INDENT "requires the '--comm-key' option."), - _("Disable PV guest dumps (default) (optional).")), + _("Disable PV guest dumps (default).")), MUT_EXCL_BOOL_FLAG( pckmo, _("Enable the support for the DEA, TDEA, AES, and\n" INDENT - "ECC PCKMO key encryption functions (default)\n" INDENT - "(optional)."), + "ECC PCKMO key encryption functions (default)."), _("Disable the support for the DEA, TDEA, AES, and\n" INDENT "ECC PCKMO key encryption functions (optional).")), { .long_name = "comm-key",