From 992716c9ab452457222cb1da2be34ce070ead309 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 8 Sep 2025 12:30:35 +0200 Subject: [PATCH] bootctl: fix reference to non-existent option in error log --- src/bootctl/bootctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootctl/bootctl.c b/src/bootctl/bootctl.c index 192f9ddb603..52066e29990 100644 --- a/src/bootctl/bootctl.c +++ b/src/bootctl/bootctl.c @@ -652,7 +652,7 @@ static int parse_argv(int argc, char *argv[]) { return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--install-from-host is only supported with --root= or --image=."); if (arg_dry_run && argv[optind] && !STR_IN_SET(argv[optind], "unlink", "cleanup")) - return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--dry is only supported with --unlink or --cleanup"); + return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--dry-run is only supported with --unlink or --cleanup"); if (arg_secure_boot_auto_enroll && !arg_certificate) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Secure boot auto-enrollment requested but no certificate provided"); -- 2.47.3