diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-24 04:55:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-24 04:55:57 +0200 |
commit | 2f02ce4005075ac76742ed6a2189cc2e5fc6a192 (patch) | |
tree | 4914f66cfadda43b628cde730ddd6a836cff4d25 /src/systemctl.c | |
parent | 6f6083dc73c4bdd48678456fa6b969d6f1152373 (diff) |
utils: show help blurb when run without any arguments
Diffstat (limited to 'src/systemctl.c')
-rw-r--r-- | src/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c index 9eb72f9747..78310aa273 100644 --- 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; } |