Remove version information from -Qqo output

This was the only --quiet operation that showed version information; make it
consistent with the rest.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2009-05-11 21:43:36 -05:00
parent a783f3fbf1
commit 20017354f7
2 changed files with 5 additions and 6 deletions

View File

@ -207,10 +207,10 @@ Query Options[[QO]]
Show less information for certain query operations. (This is useful when
pacman's output is processed in a script.) Search will only show package
names and not version, group, and description information; owns will
only show package names and versions instead of "file is owned by pkg"
messages; group will only show package names and omit group names; list
will only show files and omit package names; a bare query will only
show package names rather than names and versions.
only show package names instead of "file is owned by pkg" messages; group
will only show package names and omit group names; list will only show
files and omit package names; a bare query will only show package names
rather than names and versions.
*-s, \--search* <'regexp'>::
This will search each locally-installed package for names or

View File

@ -125,8 +125,7 @@ static int query_fileowner(alpm_list_t *targets)
printf(_("%s is owned by %s %s\n"), filename,
alpm_pkg_get_name(info), alpm_pkg_get_version(info));
} else {
printf("%s %s\n", alpm_pkg_get_name(info),
alpm_pkg_get_version(info));
printf("%s\n", alpm_pkg_get_name(info));
}
found = 1;
}