summaryrefslogtreecommitdiffstats
path: root/modules/help
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help')
-rwxr-xr-xmodules/help11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/help b/modules/help
index 303af362..48c06686 100755
--- a/modules/help
+++ b/modules/help
@@ -11,5 +11,14 @@ case "$1" in
} | sort | sed -rn '
$s/$//
s:^([a-z]+) (.+):type /\1 to \2:p' ;;
- (*) exit 23 ;;
+ (*)
+ ## call
+ for directory in `echo "$NOISE_PATH" | tr : \ ` ; do
+ for module in "$directory/$1" ; do
+ if test -e $module ; then
+ shift
+ exec $module --help --verbose "$@" 2>&1
+ fi
+ done
+ done
esac