aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2011-01-06 08:22:07 -0600
committerPaul Varner <fuzzyray@gentoo.org>2011-01-06 09:48:52 -0600
commit63a5ccffaba120850b35814986e37c004c012de6 (patch)
tree5a113b5c0ce57de5d7064c24567734ca7bd2144f /man
parentman page formatting cleanup. (diff)
downloadgentoolkit-63a5ccffaba120850b35814986e37c004c012de6.tar.gz
gentoolkit-63a5ccffaba120850b35814986e37c004c012de6.tar.bz2
gentoolkit-63a5ccffaba120850b35814986e37c004c012de6.zip
Add gentoolkitNonZeroExit exception
This exception should only be used when an error is not fatal and the absence of information means no data was found. The return_code parameter can be used to set the exit value. Have the equery list module when in quiet mode return an exit status of 3. This is needed to prevent 'euse -I' from printing many 'No installed packages matching ...' error messages.
Diffstat (limited to 'man')
-rw-r--r--man/equery.15
1 files changed, 4 insertions, 1 deletions
diff --git a/man/equery.1 b/man/equery.1
index c912831..8538005 100644
--- a/man/equery.1
+++ b/man/equery.1
@@ -448,7 +448,10 @@ Slot:
.br
The fourth field, after the colon, is the package's slot. \fB0\fP is the default slot. To find all packages with multiple slots installed, use \fB\-\-duplicates\fP.
.P
-\fBNote:\fP Because it takes extra processing time to determine the location, mask status and slot, you can speed up output by passing the \fB\-\-quiet\fP global option to \fBequery\fP when you don't care about the extra information.
+\fBNote:\fP Because it takes extra processing time to determine the location, mask status and slot, you can speed up output by passing the \fB\-\-quiet\fP global option to \fBequery\fP when you don't care about the extra information.
+
+\fBNote:\fP Additionally, when using \-\-quiet, if no matches are found, instead of printing an error, the equery list module will return with an exit value of 3.
+>>>>>>> 61db505... Add gentoolkitNonZeroExit exception
.P
.I R "EXAMPLES" ":"