systemctl: suffix cmdline options that take arguments with =

Just to clarify, that these options expect arguments, following our
usual style.
This commit is contained in:
Lennart Poettering 2017-02-21 11:17:24 +01:00
parent a4dde27d73
commit 10ab1831de

View file

@ -7330,7 +7330,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
case 't': {
if (isempty(optarg)) {
log_error("--type requires arguments.");
log_error("--type= requires arguments.");
return -EINVAL;
}
@ -7570,7 +7570,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
case ARG_STATE: {
if (isempty(optarg)) {
log_error("--state requires arguments.");
log_error("--state= requires arguments.");
return -EINVAL;
}