commit:     13e441fc15740844749c1c9930f348d4aab53a8d
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 21:15:40 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 21:15:40 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=13e441fc

qcache: print elapse time nicer

 qcache.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/qcache.c b/qcache.c
index 25f8651..0891918 100644
--- a/qcache.c
+++ b/qcache.c
@@ -735,7 +735,9 @@ void qcache_stats(qcache_data *data)
 
                printf("+%.*s+\n\n", (int)(arch_longest_len + 46), border);
 
-               printf("Completed in %s%d%s seconds.\n", BLUE, 
(int)(time(NULL)-runtime), NORM);
+               printf("Completed in ");
+               print_seconds_for_earthlings(time(NULL) - runtime);
+               printf("\n");
 
                free(packages_stable);
                free(packages_testing);

Reply via email to