Revision 9fbfbb7b
ID | 9fbfbb7b1a1bd958a04bf482b180861862b06c26 |
Parent | 23b8c8d6 |
Child | 0779e3aa |
Enable auto-unit formatting in script output
This patch enables by default the old 'human-readable' option, but in a
slightly different model.
The option is now called "units" and takes either:
- 'h' for automatic formatting
- 'm', 'g' or 't' for mebi/gibi/tebibytes
If 'h' is used, we add a unit suffix, otherwise nothing is added so that
parsing is easy.
The default value of this unit is:
- 'h' if a separator is not passed
- 'm' if a separator is passed
Reviewed-by: ultrotter
Files
- added
- modified
- copied
- renamed
- deleted