1 |
commit: 13e441fc15740844749c1c9930f348d4aab53a8d |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 27 21:15:40 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 27 21:15:40 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=13e441fc |
7 |
|
8 |
qcache: print elapse time nicer |
9 |
|
10 |
qcache.c | 4 +++- |
11 |
1 file changed, 3 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/qcache.c b/qcache.c |
14 |
index 25f8651..0891918 100644 |
15 |
--- a/qcache.c |
16 |
+++ b/qcache.c |
17 |
@@ -735,7 +735,9 @@ void qcache_stats(qcache_data *data) |
18 |
|
19 |
printf("+%.*s+\n\n", (int)(arch_longest_len + 46), border); |
20 |
|
21 |
- printf("Completed in %s%d%s seconds.\n", BLUE, (int)(time(NULL)-runtime), NORM); |
22 |
+ printf("Completed in "); |
23 |
+ print_seconds_for_earthlings(time(NULL) - runtime); |
24 |
+ printf("\n"); |
25 |
|
26 |
free(packages_stable); |
27 |
free(packages_testing); |