chiark / gitweb /
utils: show help blurb when run without any arguments
[elogind.git] / src / systemctl.c
index 9eb72f9747c492462f97fdb35866f0f7f00ab510..78310aa273859a988e2bfc6bc70f1d0d70898672 100644 (file)
@@ -1839,7 +1839,7 @@ static int telinit_parse_argv(int argc, char *argv[]) {
         }
 
         if (optind >= argc) {
-                log_error("Argument missing.");
+                telinit_help();
                 return -EINVAL;
         }