summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-22 14:01:41 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-22 14:01:41 -0500
commitcaac4444f99bcef4161a416af8d1f678314a3e80 (patch)
treeef1d94407c910c400085933c9714d1d52246a134
parentRemove useless describe_cleanup_parameters() and describe_cleanup_options(). (diff)
downloadeselect-php-caac4444f99bcef4161a416af8d1f678314a3e80.tar.gz
eselect-php-caac4444f99bcef4161a416af8d1f678314a3e80.tar.bz2
eselect-php-caac4444f99bcef4161a416af8d1f678314a3e80.zip
Add a "modules" action to list all valid modules (requested in bug 491866).
Gentoo-Bug: 491866
-rw-r--r--src/php.eselect.in.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in
index db7a96f..2467ce3 100644
--- a/src/php.eselect.in.in
+++ b/src/php.eselect.in.in
@@ -619,3 +619,13 @@ do_cleanup() {
fi
done
}
+
+## modules action
+
+describe_modules() {
+ echo "List all valid modules, separated by spaces"
+}
+
+do_modules() {
+ echo "${MODULES}"
+}