diff options
Diffstat (limited to 'src/env-update.c')
-rw-r--r-- | src/env-update.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/env-update.c b/src/env-update.c index fba671b4..c9739a78 100644 --- a/src/env-update.c +++ b/src/env-update.c @@ -65,7 +65,7 @@ static const char *colon_separated[] = { NULL }; -static const char *space_separated[] = { +static const char *space_separated[] = { "CONFIG_PROTECT", "CONFIG_PROTECT_MASK", NULL, @@ -81,6 +81,11 @@ static struct option longopts[] = { longopts_COMMON { NULL, 0, NULL, 0} }; +static const char * const longopts_help[] = { + "Fork ldconfig into the background", + "Skip execution of ldconfig", + longopts_help_COMMON +}; #include "_usage.c" int env_update (int argc, char **argv) @@ -103,7 +108,7 @@ int env_update (int argc, char **argv) bool ldconfig = true; bool fork_ldconfig = false; int nents = 0; - + applet = argv[0]; while ((opt = getopt_long (argc, argv, getoptstring, |