summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-22 14:13:14 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-22 14:13:14 -0500
commite64cb2825a6429fcb3e7c760538bcfa3890faa97 (patch)
tree295a6813e0cc55ca3c8b198deb057ac8c4e0152d
parentCosmetic changes to help text. (diff)
downloadeselect-php-e64cb2825a6429fcb3e7c760538bcfa3890faa97.tar.gz
eselect-php-e64cb2825a6429fcb3e7c760538bcfa3890faa97.tar.bz2
eselect-php-e64cb2825a6429fcb3e7c760538bcfa3890faa97.zip
Rename the "modules" action to "list-modules".
The name "list-modules" was always more appropriate; it just took a moment to realize that "-" is valid in bash function names.
-rw-r--r--src/php.eselect.in.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in
index ac05d3a..8f241ce 100644
--- a/src/php.eselect.in.in
+++ b/src/php.eselect.in.in
@@ -620,12 +620,12 @@ do_cleanup() {
done
}
-## modules action
+## list-modules action
-describe_modules() {
+describe_list-modules() {
echo "output a space-separated list of valid modules"
}
-do_modules() {
+do_list-modules() {
echo "${MODULES}"
}