Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make the output of pkg fetch more understandable
Baptiste Daroussin committed 10 years ago
commit b1c441dd421aeb14f72966806dfdfaa437f0343d
parent 21e88b88237e3590e56c0f69d660640267aeda12
1 file changed +2 -2
modified src/utils.c
@@ -868,8 +868,8 @@ display_summary_item(struct pkg_solved_display_item *it, int64_t dlsize)
		    HN_AUTOSCALE, HN_IEC_PREFIXES);

		pkg_printf("\t%n-%v ", it->new, it->new);
-
		printf("(%.2f%% of %s: %s)\n", ((double)100 * pkgsize) / (double)dlsize,
-
				tlsize, size);
+
		printf("(%s: %.2f%% of the %s to download)\n", size,
+
		    ((double)100 * pkgsize) / (double)dlsize, tlsize);
		break;
	default:
		break;