man, systemctl: document --what=help

This commit is contained in:
Jörg Behrmann
2025-05-13 17:19:39 +02:00
parent 5689365a90
commit 028de7292d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -958,7 +958,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
case ARG_WHAT:
if (isempty(optarg))
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--what= requires arguments.");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--what= requires arguments (see --what=help).");
for (const char *p = optarg;;) {
_cleanup_free_ char *k = NULL;