Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-05-11 21:43:36 -0500
committerDan McGee <dan@archlinux.org>2009-05-11 21:43:36 -0500
commit20017354f7ccb58bf4f78691985a5d237f4dbc90 (patch)
treeee213f5368c7df020317a35604a7f74b2f5a8ff5
parenta783f3fbf1425fc9b8815a2ab658aa6530ce0c23 (diff)
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>
-rw-r--r--doc/pacman.8.txt8
-rw-r--r--src/pacman/query.c3
2 files changed, 5 insertions, 6 deletions
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;
}