diff options
author | 2005-10-14 22:18:11 +0000 | |
---|---|---|
committer | 2005-10-14 22:18:11 +0000 | |
commit | d2a3cccdab9fb3fa68574cf50d90024574240bbe (patch) | |
tree | 82e067af3646ef09cb1a29e7b481647f218bfdc5 /qsearch.c | |
parent | - added some basic code to resolve virtuals. (diff) | |
download | portage-utils-d2a3cccdab9fb3fa68574cf50d90024574240bbe.tar.gz portage-utils-d2a3cccdab9fb3fa68574cf50d90024574240bbe.tar.bz2 portage-utils-d2a3cccdab9fb3fa68574cf50d90024574240bbe.zip |
change default search to match names (like emerge/esearch does)
Diffstat (limited to 'qsearch.c')
-rw-r--r-- | qsearch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsearch.c,v 1.18 2005/09/24 01:56:36 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsearch.c,v 1.19 2005/10/14 22:18:11 vapier Exp $ * * Copyright 2005 Ned Ludd - <solar@gentoo.org> * Copyright 2005 Mike Frysinger - <vapier@gentoo.org> @@ -38,7 +38,7 @@ int qsearch_main(int argc, char **argv) char *p, *q, *str; char *search_me = NULL; char show_homepage = 0, show_name_only = 0; - char search_desc = 1, search_all = 0, search_name = 0, search_cache = CACHE_EBUILD; + char search_desc = 0, search_all = 0, search_name = 1, search_cache = CACHE_EBUILD; const char *search_vars[] = { "DESCRIPTION=", "HOMEPAGE=" }; size_t search_len; int i, idx=0; |