diff --git a/bin/cave-stat b/bin/cave-stat index 4d97d4e..4d69e5b 100755 --- a/bin/cave-stat +++ b/bin/cave-stat @@ -29,12 +29,12 @@ def cave_stat(): atom = [c for c in cmdline if "::" in c and c[0] == "="][0] lines = [ - "*<.> %s %s<.>" %(action, atom), - " - %s of %s (%.01f %%<.>)" %(pos, total, 100 * int(pos) / int(total)) + "**<.> %s %s<.>" %(action, atom), + " - %s of %s done<.> (%.01f %% remaining)" %(pos, total, 100 - 100 * int(pos) / int(total)) ] if failed: - lines.append(" - %d failed<.>, %.01f %% failure rate" %(failed, 100 * failed / total)) + lines.append(" - %d failed<.> (%.01f %% failure rate)" %(failed, 100 * failed / total)) yield over.text.render("\n".join(lines))