udevd: list all short options in help text
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Sun, 3 Dec 2017 17:32:53 +0000 (18:32 +0100)
committerMarcus Folkesson <marcus.folkesson@gmail.com>
Sun, 3 Dec 2017 17:39:32 +0000 (18:39 +0100)
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
src/udev/udevd.c

index e2c7f99..38ced53 100644 (file)
@@ -1407,13 +1407,13 @@ static void help(void) {
         printf("%s [OPTIONS...]\n\n"
                "Manages devices.\n\n"
                "  -h --help                   Print this message\n"
-               "     --version                Print version of the program\n"
-               "     --daemon                 Detach and run in the background\n"
-               "     --debug                  Enable debug output\n"
-               "     --children-max=INT       Set maximum number of workers\n"
-               "     --exec-delay=SECONDS     Seconds to wait before executing RUN=\n"
-               "     --event-timeout=SECONDS  Seconds to wait before terminating an event\n"
-               "     --resolve-names=early|late|never\n"
+               "  -V --version                Print version of the program\n"
+               "  -d --daemon                 Detach and run in the background\n"
+               "  -D --debug                  Enable debug output\n"
+               "  -c --children-max=INT       Set maximum number of workers\n"
+               "  -e --exec-delay=SECONDS     Seconds to wait before executing RUN=\n"
+               "  -t --event-timeout=SECONDS  Seconds to wait before terminating an event\n"
+               "  -N --resolve-names=early|late|never\n"
                "                              When to resolve users and groups\n"
                , program_invocation_short_name);
 }