[Toybox] top --help

enh enh at google.com
Thu Feb 2 14:59:46 PST 2017


"top --help" doesn't include the TOP_COMMON help. and i'm starting to
get bug reports from folks confused by this. especially because it
makes it look like some options disappeared, and enough is genuinely
different in toybox top that they're relying on the help. (for most
people, this is the first time they've used the toybox top and ps,
even though i switched AOSP master in the second half of last year.)

aiui from times this came up in the past, this missing infrastructure
feature isn't easy to fix. so should we just copy & paste the common
lines in for now? or is there a trick like what's happening with LS
and LS_COLOR where we can just rewrite the USE_ lines to get the right
output?

(somewhat related, i've attached a small fix to the pgrep help.)

-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-typo-in-pgrep-help.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170202/2d8b0882/attachment.bin>


More information about the Toybox mailing list