Allow init scripts to show their dependencies easier

This commit is contained in:
Roy Marples
2009-09-04 16:00:08 +01:00
parent 44585fea46
commit 3dc712e222
2 changed files with 26 additions and 2 deletions

View File

@@ -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);