]> arthur.barton.de Git - bup.git/commit
Add --human-readable option to "bup web".
authorKumar Appaiah <a.kumar@alumni.iitm.ac.in>
Sun, 25 Aug 2013 19:02:16 +0000 (15:02 -0400)
committerRob Browning <rlb@defaultvalue.org>
Mon, 26 Aug 2013 00:28:29 +0000 (19:28 -0500)
commit68738a00ae985161a291a4feebbe9ea85512bf4f
tree700df64b5318d7ce38ff1f1496a81e7cd053b3fb
parent46dae41b4bdfeb55aa00c34f92fe9cf514a3b809
Add --human-readable option to "bup web".

When --human-readable is specified, print sizes like 3.5K, 1.8G,
etc., instead of the exact byte count.

Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
[rlb@defaultvalue.org: adjust commit message; squash two of Kumar's
 patches into this one.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-web.md
cmd/web-cmd.py
lib/bup/helpers.py