index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | doc/pacman.8.txt | 8 | ||||
-rw-r--r-- | src/pacman/query.c | 3 |
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index cc3d396a..37680be8 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -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 diff --git a/src/pacman/query.c b/src/pacman/query.c index 14fa357f..809a5f49 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -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; } |