Convert filters to lopsub.
[paraslash.git] / man_util.bash
index 687acaab5510dab25cc83a2e65b319359d85b3d0..2a12737e9a3768fa66872249baa1def89f01e2c6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-# Receivers, filters, writers are called "modules" in this script
+# writers are called "modules" in this script
 print_modhelp()
 {
        local ggo="$1"
@@ -39,22 +39,6 @@ make_help()
                --set-package "para_$1" \
                < "$ggo"
 
-       if [[ "$target" == 'recv' || "$target" == 'audiod' ]]; then
-               for module in $RECEIVERS; do
-                       ggo="$GGO_DIR/${module}_recv.ggo"
-                       [[ ! -f "$ggo" ]] && continue
-                       printf "\nOptions for the $module receiver"
-                       print_modhelp "$ggo"
-               done
-       fi
-       if [[ "$target" == 'filter' || "$target" == 'audiod' ]]; then
-               for module in $FILTERS; do
-                       ggo="$GGO_DIR/${module}_filter.ggo"
-                       [[ ! -f "$ggo" ]] && continue
-                       printf "\nOptions for the $module filter"
-                       print_modhelp "$ggo"
-               done
-       fi
        if [[ "$target" == 'write' || "$target" == 'audiod' ]]; then
                for module in $WRITERS; do
                        ggo="$GGO_DIR/${module}_write.ggo"