chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utils: show help blurb when run without any arguments
[elogind.git]
/
src
/
systemctl.c
diff --git
a/src/systemctl.c
b/src/systemctl.c
index 9eb72f9747c492462f97fdb35866f0f7f00ab510..78310aa273859a988e2bfc6bc70f1d0d70898672 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-1839,7
+1839,7
@@
static int telinit_parse_argv(int argc, char *argv[]) {
}
if (optind >= argc) {
-
log_error("Argument missing."
);
+
telinit_help(
);
return -EINVAL;
}