commit:     36f6378522faff389eb94ac1111936e3328a6688
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 22 00:21:10 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 00:22:52 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=36f63785

Update best_version() docstrings

Original pull request by yaccz: https://github.com/gentoo/portage/pull/10
We ended up with a slightly different message.

 bin/phase-helpers.sh | 2 +-
 bin/portageq         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 47ca060..efd2cfa 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -884,7 +884,7 @@ has_version() {
 # @FUNCTION: best_version
 # @USAGE: [--host-root] <DEPEND ATOM>
 # @DESCRIPTION:
-# Returns the best/most-current match.
+# Returns highest installed matching category/package-version (without 
.ebuild).
 # Callers may override the ROOT variable in order to match packages from an
 # alternative ROOT.
 best_version() {

diff --git a/bin/portageq b/bin/portageq
index 8deeb8a..5e0ee8b 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -177,7 +177,7 @@ def best_version(argv):
                return 1
 
 docstrings['best_version'] = """<eroot> <category/package>
-       Returns category/package-version (without .ebuild).
+       Returns highest installed matching category/package-version (without 
.ebuild).
        """
 best_version.__doc__ = docstrings['best_version']
 

Reply via email to