summaryrefslogtreecommitdiff
path: root/src/pacman/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/query.c')
-rw-r--r--src/pacman/query.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index d27044eb..5f751191 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -261,14 +261,6 @@ static int query_search(alpm_list_t *targets)
printf("%s", alpm_pkg_get_name(pkg));
}
- /* print the package size with the output if ShowSize option set */
- if(!config->quiet && config->showsize) {
- /* Convert byte size to MB */
- double mbsize = (double)alpm_pkg_get_size(pkg) / (1024.0 * 1024.0);
-
- printf(" [%.2f MB]", mbsize);
- }
-
if (!config->quiet) {
if((grp = alpm_pkg_get_groups(pkg)) != NULL) {