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:
parent
a783f3fbf1
commit
20017354f7
2 changed files with 5 additions and 6 deletions
|
@ -207,10 +207,10 @@ Query Options[[QO]]
|
||||||
Show less information for certain query operations. (This is useful when
|
Show less information for certain query operations. (This is useful when
|
||||||
pacman's output is processed in a script.) Search will only show package
|
pacman's output is processed in a script.) Search will only show package
|
||||||
names and not version, group, and description information; owns will
|
names and not version, group, and description information; owns will
|
||||||
only show package names and versions instead of "file is owned by pkg"
|
only show package names instead of "file is owned by pkg" messages; group
|
||||||
messages; group will only show package names and omit group names; list
|
will only show package names and omit group names; list will only show
|
||||||
will only show files and omit package names; a bare query will only
|
files and omit package names; a bare query will only show package names
|
||||||
show package names rather than names and versions.
|
rather than names and versions.
|
||||||
|
|
||||||
*-s, \--search* <'regexp'>::
|
*-s, \--search* <'regexp'>::
|
||||||
This will search each locally-installed package for names or
|
This will search each locally-installed package for names or
|
||||||
|
|
|
@ -125,8 +125,7 @@ static int query_fileowner(alpm_list_t *targets)
|
||||||
printf(_("%s is owned by %s %s\n"), filename,
|
printf(_("%s is owned by %s %s\n"), filename,
|
||||||
alpm_pkg_get_name(info), alpm_pkg_get_version(info));
|
alpm_pkg_get_name(info), alpm_pkg_get_version(info));
|
||||||
} else {
|
} else {
|
||||||
printf("%s %s\n", alpm_pkg_get_name(info),
|
printf("%s\n", alpm_pkg_get_name(info));
|
||||||
alpm_pkg_get_version(info));
|
|
||||||
}
|
}
|
||||||
found = 1;
|
found = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue