Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge pull request #1249 from dag-erling/quietclean
Baptiste Daroussin committed 10 years ago
commit e1495d02a4210037089277e51845645f06b80122
parent 9b2b1dc
1 file changed +2 -1
modified src/clean.c
@@ -315,7 +315,8 @@ exec_clean(int argc, char **argv)
	humanize_number(size, sizeof(size), total, "B",
	    HN_AUTOSCALE, HN_IEC_PREFIXES);

-
	printf("The cleanup will free %s\n", size);
+
	if (!quiet)
+
		printf("The cleanup will free %s\n", size);
	if (!dry_run) {
			if (query_yesno(false,
			  "\nProceed with cleaning the cache? ")) {