summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2015-12-19 18:34:38 -0500
committerMichael Orlitzky <mjo@gentoo.org>2015-12-19 18:34:38 -0500
commit313a8dafa0a6fd39c2acd27ab39f6d7b119b7835 (patch)
tree4ce17fcb45a7247878e9f1c9e8b384ab3ee85f33
parentFactor our the active SAPI target getter functions. (diff)
downloadeselect-php-313a8dafa0a6fd39c2acd27ab39f6d7b119b7835.tar.gz
eselect-php-313a8dafa0a6fd39c2acd27ab39f6d7b119b7835.tar.bz2
eselect-php-313a8dafa0a6fd39c2acd27ab39f6d7b119b7835.zip
Fix documentation for the get_sapi_active_target() function.
The documentation for the get_sapi_active_target() was copy/pasted and never updated. Whoops. It's been fixed.
-rw-r--r--src/php.eselect.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/php.eselect.in b/src/php.eselect.in
index fff7784..a2266c5 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -196,17 +196,17 @@ find_targets_phpdbg() {
}
-# Find the active (selected) version of the apache2 module. Used to
-# decorate the output of the `eselect php list apache2` command.
+# Find the active (selected) target for the given SAPI. This is used
+# to decorate the output of the `eselect php list <sapi>` command.
#
# INPUT:
#
-# None.
+# The name of a SAPI.
#
# OUTPUT:
#
-# The "display name" of the active apache2 module. For example,
-# "php5.6" or "php7.0".
+# The "display name" of the active target for the given SAPI. For
+# example, "php5.6" or "php7.0".
#
get_sapi_active_target() {
local sapi="${1}"