From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-371422-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QrwI8-0007y8-Gf
	for garchives@archives.gentoo.org; Fri, 12 Aug 2011 18:17:08 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 154A3E06BF;
	Fri, 12 Aug 2011 18:17:01 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id D5362E06BF
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Aug 2011 18:17:00 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 66A631B4008
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Aug 2011 18:17:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id B47B680040
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Aug 2011 18:16:59 +0000 (UTC)
From: "Ulrich Mueller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" <ulm@gentoo.org>
Message-ID: <1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5.ulm@gentoo>
Subject: [gentoo-commits] proj/pms:master commit in: /
X-VCS-Repository: proj/pms
X-VCS-Files: pkg-mgr-commands.tex
X-VCS-Directories: /
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Mueller
X-VCS-Revision: 1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5
Date: Fri, 12 Aug 2011 18:16:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 04d3480064f113cb9d0c5d6396cf8401

commit:     1467f30d2e1579b7628fbcd36e3fc6bf7049d3f5
Author:     Micha=C5=82 G=C3=B3rny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 10:00:10 2011 +0000
Commit:     Ulrich Mueller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 12 18:18:43 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc=
ommit;h=3D1467f30d

Note that eend() should return the passed exit status.

This is quite useful, and paludis, pkgcore & portage all do that.

---
 pkg-mgr-commands.tex |    4 ++--
 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 mess=
age in all subsequent
-    arguments.  If the first argument is 0, print a success indicator; o=
therwise, print the message
-    followed by a failure indicator.
+    arguments. If the first argument is 0, prints a success indicator; o=
therwise, prints the
+    message followed by a failure indicator. Returns its first argument =
as exit status.
 \end{description}
=20
 \subsubsection{Error commands}