aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 550653ab..4bbc0dab 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -972,7 +972,7 @@ static void svc_restart (bool deps)
}
#include "_usage.h"
-#define getoptstring "dDqsv" getoptstring_COMMON
+#define getoptstring "dDqsv" getoptstring_COMMON
static struct option longopts[] = {
{ "debug", 0, NULL, 'd'},
{ "ifstarted", 0, NULL, 's'},
@@ -982,6 +982,14 @@ static struct option longopts[] = {
longopts_COMMON
{ NULL, 0, NULL, 0}
};
+static const char * const longopts_help[] = {
+ "",
+ "",
+ "",
+ "",
+ "",
+ longopts_help_COMMON
+};
#include "_usage.c"
int runscript (int argc, char **argv)