aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-25 16:21:38 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-25 16:21:38 +0000
commit284286004e024dd240cc08d84ebd8b6748d311c8 (patch)
treee8fcd489e28c5bb8dee70d340099c8095938b393 /src/start-stop-daemon.c
parent17f430c0b911ef243599b0dc7388b166d5365539 (diff)
Add support for describing the options in the C programs.
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 8c43a407..1b4c7f28 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -487,6 +487,30 @@ static struct option longopts[] = {
longopts_COMMON
{ NULL, 0, NULL, 0}
};
+static const char * const longopts_help[] = {
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ longopts_help_COMMON
+};
#include "_usage.c"
int start_stop_daemon (int argc, char **argv)