1 |
commit: 313a8dafa0a6fd39c2acd27ab39f6d7b119b7835 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 19 23:34:38 2015 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 19 23:34:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=313a8daf |
7 |
|
8 |
Fix documentation for the get_sapi_active_target() function. |
9 |
|
10 |
The documentation for the get_sapi_active_target() was copy/pasted and |
11 |
never updated. Whoops. It's been fixed. |
12 |
|
13 |
src/php.eselect.in | 10 +++++----- |
14 |
1 file changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/src/php.eselect.in b/src/php.eselect.in |
17 |
index fff7784..a2266c5 100644 |
18 |
--- a/src/php.eselect.in |
19 |
+++ b/src/php.eselect.in |
20 |
@@ -196,17 +196,17 @@ find_targets_phpdbg() { |
21 |
} |
22 |
|
23 |
|
24 |
-# Find the active (selected) version of the apache2 module. Used to |
25 |
-# decorate the output of the `eselect php list apache2` command. |
26 |
+# Find the active (selected) target for the given SAPI. This is used |
27 |
+# to decorate the output of the `eselect php list <sapi>` command. |
28 |
# |
29 |
# INPUT: |
30 |
# |
31 |
-# None. |
32 |
+# The name of a SAPI. |
33 |
# |
34 |
# OUTPUT: |
35 |
# |
36 |
-# The "display name" of the active apache2 module. For example, |
37 |
-# "php5.6" or "php7.0". |
38 |
+# The "display name" of the active target for the given SAPI. For |
39 |
+# example, "php5.6" or "php7.0". |
40 |
# |
41 |
get_sapi_active_target() { |
42 |
local sapi="${1}" |