man, systemctl: document --what=help
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user