From: Lennart Poettering Date: Tue, 21 Feb 2017 10:17:24 +0000 (+0100) Subject: systemctl: suffix cmdline options that take arguments with = X-Git-Tag: v233~58^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ab1831de19302cc3ed8d9a32ad30699a59bc5d;p=thirdparty%2Fsystemd.git systemctl: suffix cmdline options that take arguments with = Just to clarify, that these options expect arguments, following our usual style. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index c2af46d4ee1..157a46865ff 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; }