summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-08-10 12:00:10 +0200
committerUlrich Mueller <ulm@gentoo.org>2011-08-12 20:18:43 +0200
commit1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5 (patch)
treeb59070a8d4a353184d1ff55bc17a3b2a8c8118a4
parentTighten repository name requirements (diff)
downloadpms-1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5.tar.gz
pms-1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5.tar.bz2
pms-1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5.zip
Note that eend() should return the passed exit status.
This is quite useful, and paludis, pkgcore & portage all do that.
-rw-r--r--pkg-mgr-commands.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 10566fa..724281d 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -103,8 +103,8 @@ stderr or some other appropriate facility.
lengthy process, and followed by a call to \t{eend}.
\item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one
fixed argument, which is a numeric return code, and an optional message in all subsequent
- arguments. If the first argument is 0, print a success indicator; otherwise, print the message
- followed by a failure indicator.
+ arguments. If the first argument is 0, prints a success indicator; otherwise, prints the
+ message followed by a failure indicator. Returns its first argument as exit status.
\end{description}
\subsubsection{Error commands}