On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: > make btrfs qgroups show human readable sizes > using --human-readable option, example:
That's too long to type and the idea was to add all the long options that force the specific unit base, ie. --kbytes/--mbytes/..., --raw, --si and --iec. We can possibly make the human readable the default because that's what I'd expect to see to have a quick overview and can use the other options otherwise. The geopt parser accepts short options if they're unique, so --kb or even --k works as a very convenient shorcut for frequent commandline use. > qgroupid rfer excl max_rfer max_excl parent child > -------- ---- ---- -------- -------- ------ ----- > 0/5 299.58MiB 299.58MiB 400.00MiB 0.00B 1/1 --- > 0/265 299.58MiB 16.00KiB 0.00B 320.00MiB 1/1 --- > 0/266 299.58MiB 16.00KiB 350.00MiB 0.00B --- --- > 1/1 599.16MiB 299.59MiB 800.00MiB 0.00B --- 0/5,0/265 The values should be also aligned to the right. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html