From 10ab1831de19302cc3ed8d9a32ad30699a59bc5d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Feb 2017 11:17:24 +0100 Subject: systemctl: suffix cmdline options that take arguments with = Just to clarify, that these options expect arguments, following our usual style. --- src/systemctl/systemctl.c | 4 ++-- 1 file 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; } -- cgit v1.2.3-54-g00ecf