1 |
Explain the format used by best_version command explicitly. Currently, |
2 |
the function only lists what gets printed but not in what form or how it |
3 |
is separated. |
4 |
--- |
5 |
pkg-mgr-commands.tex | 5 +++-- |
6 |
1 file changed, 3 insertions(+), 2 deletions(-) |
7 |
|
8 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
9 |
index cb704f0..4299624 100644 |
10 |
--- a/pkg-mgr-commands.tex |
11 |
+++ b/pkg-mgr-commands.tex |
12 |
@@ -105,8 +105,9 @@ are given, \t{-r} is assumed. |
13 |
\item[has_version] Takes exactly one package dependency specification as an argument. Returns |
14 |
true if a package matching the specification is installed, and false otherwise. |
15 |
\item[best_version] Takes exactly one package dependency specification as an argument. If a |
16 |
- matching package is installed, prints the category, package name and version of the highest |
17 |
- matching version; otherwise, prints an empty string. The exit code is unspecified. |
18 |
+ matching package is installed, prints the category, followed by \t{/}, followed by package |
19 |
+ name, followed by \t{-}, followed by full version of the highest matching version; |
20 |
+ otherwise, prints an empty string. The exit code is unspecified. |
21 |
\end{description} |
22 |
|
23 |
\ChangeWhenAddingAnEAPI{7} |
24 |
-- |
25 |
2.17.0 |