systemctl: expand error message
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user