From 5b0b8f866e3307c98f18364f36eaffba84bc6368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Wed, 21 Jul 2010 16:02:23 +0200 Subject: [PATCH] more informative jumpstat --- autojump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autojump b/autojump index 3c0a054..2f6246c 100755 --- a/autojump +++ b/autojump @@ -134,7 +134,7 @@ elif ('--stat','') in optlist: a.sort(key=lambda e:e[1]) for path,count in a[-100:]: print "%.1f:\t%s" % (count,path) - print "Total key weight: %d" % sum(path_dict.values()) + print "Total key weight: %d. Number of stored paths: %d" % (sum(path_dict.values()),len(a)) elif ('--import','') in optlist: for i in open(args[-1]).readlines(): dicadd(path_dict,i[:-1])