diff options
author | 2018-05-01 18:59:18 +0200 | |
---|---|---|
committer | 2018-05-04 08:53:48 +0200 | |
commit | 9aec81ada7d355f462972eedb853dba393107dc6 (patch) | |
tree | f95b21d866f16ec9435ce86947efcde200152d40 /pkg-mgr-commands.tex | |
parent | nonfatal: Reword argument handling to be cleaner (diff) | |
download | pms-9aec81ada7d355f462972eedb853dba393107dc6.tar.gz pms-9aec81ada7d355f462972eedb853dba393107dc6.tar.bz2 pms-9aec81ada7d355f462972eedb853dba393107dc6.zip |
best_version: Explicitly specify the output format
Explain the format used by best_version command explicitly. Currently,
the function only lists what gets printed but not in what form or how it
is separated.
Diffstat (limited to 'pkg-mgr-commands.tex')
-rw-r--r-- | pkg-mgr-commands.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index cb704f0..ffa7566 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -104,9 +104,9 @@ are given, \t{-r} is assumed. \begin{description} \item[has_version] Takes exactly one package dependency specification as an argument. Returns true if a package matching the specification is installed, and false otherwise. -\item[best_version] Takes exactly one package dependency specification as an argument. If a - matching package is installed, prints the category, package name and version of the highest - matching version; otherwise, prints an empty string. The exit code is unspecified. +\item[best_version] Takes exactly one package dependency specification as an argument. If a matching + package is installed, prints \t{category/package-version} of the highest matching version; + otherwise, prints an empty string. The exit code is unspecified. \end{description} \ChangeWhenAddingAnEAPI{7} |