diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-21 11:17:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-21 11:17:24 +0100 |
commit | 10ab1831de19302cc3ed8d9a32ad30699a59bc5d (patch) | |
tree | eeaa22e19e7e35fe20ae7fcaf512d8c1ace6cf4c | |
parent | a4dde27d73c1d8219c0cc6390ef8b6e15b347edb (diff) |
systemctl: suffix cmdline options that take arguments with =
Just to clarify, that these options expect arguments, following our
usual style.
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index c2af46d4ee..157a46865f 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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; } |