for example the following doesn't work
human size -i 50g
although that feels like it should work in that its 'obvious' that I want Gigabytes and the command could simply lookup all the units it knows of.
In contrast because --units defaults to iec (which makes since when going from machine to human) the following does work without --units:
human size -i 50gi
53687091200
Currently you have to specify --units in order for the it to work ie:
human size -i --units si 50g
>50000000000
It's a bit verbose having to pass in the units going --into instead it should check all the units or something and fail if the unit is unknown. The verbose option is still there which of course should continue to work
for example the following doesn't work
human size -i 50galthough that feels like it should work in that its 'obvious' that I want Gigabytes and the command could simply lookup all the units it knows of.
In contrast because
--unitsdefaults toiec(which makes since when going from machine to human) the following does work without--units:Currently you have to specify
--unitsin order for the it to work ie:It's a bit verbose having to pass in the units going
--intoinstead it should check all the units or something and fail if the unit is unknown. The verbose option is still there which of course should continue to work