From adf2a030e6c5341eb5aa2eb21c782f45fa89c718 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Wed, 31 May 2023 08:31:55 +0000 Subject: [PATCH] genprotimg: fix error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The option name is `--enable-dump` and not `--allow-dump`. Reviewed-by: Steffen Eiden Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- genprotimg/src/pv/pv_args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genprotimg/src/pv/pv_args.c b/genprotimg/src/pv/pv_args.c index dd399332..c2398175 100644 --- a/genprotimg/src/pv/pv_args.c +++ b/genprotimg/src/pv/pv_args.c @@ -95,7 +95,7 @@ static gint pv_args_validate_options(PvArgs *args, GError **err) /* Check for mandatory arguments */ if (args->allow_dump == PV_TRUE && !args->cust_comm_key_path) { g_set_error(err, PV_PARSE_ERROR, PR_PARSE_ERROR_MISSING_ARGUMENT, - _("Option '--allow-dump' requires the '--comm-key' option.\nUse 'genprotimg " + _("Option '--enable-dump' requires the '--comm-key' option.\nUse 'genprotimg " "--help' for more information")); return -1; }