On 9/14/20 2:49 PM, enh wrote:
> i think it will, it's just neither very helpful nor clear:
> 
> ~$ top --version
> top: inappropriate '-version'
> Usage:
>   top -hv | -bcEHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
> ~$ top -v
>   procps-ng 3.3.16
> Usage:
>   top -hv | -bcEHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
> ~$ 
> 
> even when it works, it manages to make it look like a syntax error!

Ah, I missed that.

$ top -v
  procps-ng 3.3.12

> but, yeah, sounds like you have an older version, which at least answers the
> question of which direction they're moving in.

*shrug* I checked in https://github.com/landley/toybox/commit/5b7cc6d6c2a5 as my
best guess how to fix all this. Does that cover it? It removes the commas and
replaces it with an HR_NODOT flag to not do the 0.0 thing for single digit
outputs, and keeps the "force megabytes for 10G and up". Wastes horizontal
space, but...

Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to