diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-06-22 16:43:30 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-06-22 16:43:30 +0000 |
commit | 4e3bf60eca3d6d49778ecba97a76019c11020108 (patch) | |
tree | 53769a41b7c8cf34532a4ce8cd7647e7967dfc03 | |
parent | 41685ecc96d61193eee2f41a600879711cb7edcb (diff) | |
download | portage-4e3bf60eca3d6d49778ecba97a76019c11020108.tar.gz portage-4e3bf60eca3d6d49778ecba97a76019c11020108.tar.bz2 portage-4e3bf60eca3d6d49778ecba97a76019c11020108.zip |
mention the use of @ in -s; bug 137565
svn path=/main/trunk/; revision=3605
-rw-r--r-- | man/emerge.1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/man/emerge.1 b/man/emerge.1 index 239858716..7773fdffa 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -153,11 +153,13 @@ to do, then portage will exit with a message and a success condition. .BR "\-\-search " (\fB\-s\fR) Searches for matches of the supplied string in the portage tree. The \-\-search string is a regular expression. For example, \fBemerge -\-\-search "^kde"\fR searches for any package that starts with "kde"; +\-\-search "^kde"\fR searches for any package whose name starts with "kde"; \fBemerge \-\-search "gcc$"\fR searches for any package that ends with "gcc"; \fBemerge \-\-search "office"\fR searches for any package that -contains the word "office". If you want to search the package -descriptions as well, use the \fB\-\-searchdesc\fR action. +contains the word "office". If you want to include the category into the +search string, prepend an @: \fBemerge --search "@^dev-java.*jdk"\fR. +If you want to search the package descriptions as well, use the +\fB\-\-searchdesc\fR action. .TP .BR "\-\-searchdesc " (\fB\-S\fR) Matches the search string against the description field as well as |