aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-09-04 16:00:08 +0100
committerRoy Marples <roy@marples.name>2009-09-04 16:00:08 +0100
commit3dc712e22244b5286782957255de42d00f37cd4d (patch)
treedba59eaa0ee625d9c63bfae1414fd31b17c53fef /src/rc/runscript.c
parent44585fea46c81791e15d33b7f8ad939ebbc2cb6c (diff)
Allow init scripts to show their dependencies easier
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index ca0d3252..5939daed 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -1273,7 +1273,8 @@ runscript(int argc, char **argv)
doneone = true;
if (strcmp(optarg, "describe") == 0 ||
- strcmp(optarg, "help") == 0)
+ strcmp(optarg, "help") == 0 ||
+ strcmp(optarg, "depend") == 0)
{
save = prefix;
eprefix(NULL);