commit:     313a8dafa0a6fd39c2acd27ab39f6d7b119b7835
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 19 23:34:38 2015 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Dec 19 23:34:38 2015 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=313a8daf

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.

 src/php.eselect.in | 10 +++++-----
 1 file 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}"

Reply via email to