Gentoo Archives: eudev

From: Marcus Folkesson <marcus.folkesson@×××××.com>
To: eudev@l.g.o
Cc: Marcus Folkesson <marcus.folkesson@×××××.com>
Subject: [eudev] [PATCH] udevd.c: list all short options in help text
Date: Tue, 28 Nov 2017 10:47:55
Message-Id: 20171128104745.8382-1-marcus.folkesson@gmail.com
1 Signed-off-by: Marcus Folkesson <marcus.folkesson@×××××.com>
2 ---
3 src/udev/udevd.c | 14 +++++++-------
4 1 file changed, 7 insertions(+), 7 deletions(-)
5
6 diff --git a/src/udev/udevd.c b/src/udev/udevd.c
7 index fa5e345a3..268fa5b4e 100644
8 --- a/src/udev/udevd.c
9 +++ b/src/udev/udevd.c
10 @@ -1033,13 +1033,13 @@ static void help(void) {
11 printf("%s [OPTIONS...]\n\n"
12 "Manages devices.\n\n"
13 " -h --help Print this message\n"
14 - " --version Print version of the program\n"
15 - " --daemon Detach and run in the background\n"
16 - " --debug Enable debug output\n"
17 - " --children-max=INT Set maximum number of workers\n"
18 - " --exec-delay=SECONDS Seconds to wait before executing RUN=\n"
19 - " --event-timeout=SECONDS Seconds to wait before terminating an event\n"
20 - " --resolve-names=early|late|never\n"
21 + " -V --version Print version of the program\n"
22 + " -d --daemon Detach and run in the background\n"
23 + " -D --debug Enable debug output\n"
24 + " -c --children-max=INT Set maximum number of workers\n"
25 + " -e --exec-delay=SECONDS Seconds to wait before executing RUN=\n"
26 + " -t --event-timeout=SECONDS Seconds to wait before terminating an event\n"
27 + " -N --resolve-names=early|late|never\n"
28 " When to resolve users and groups\n"
29 , program_invocation_short_name);
30 }
31 --
32 2.13.1