From: Zbigniew Jędrzejewski-Szmek Date: Sun, 13 Feb 2022 11:11:52 +0000 (+0100) Subject: systemctl: expand error message X-Git-Tag: v251-rc1~289^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71fae19e3f19eda7ab7ca1e642cb644811476c5d;p=thirdparty%2Fsystemd.git systemctl: expand error message --- diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c index 37c898f3131..0985a452ec3 100644 --- a/src/systemctl/systemctl-show.c +++ b/src/systemctl/systemctl-show.c @@ -2142,7 +2142,7 @@ int show(int argc, char *argv[], void *userdata) { show_mode = systemctl_show_mode_from_string(argv[0]); if (show_mode < 0) - return log_error_errno(show_mode, "Invalid argument."); + return log_error_errno(show_mode, "Invalid argument '%s'.", argv[0]); if (show_mode == SYSTEMCTL_SHOW_HELP && argc <= 1) return log_error_errno(SYNTHETIC_ERRNO(EINVAL),