aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/diff.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-05-03 15:09:14 -0700
committerRob Landley <rob@landley.net>2018-05-06 10:23:22 -0500
commiteee28e7b5851a6eb16f7969393d8c6292b1f8754 (patch)
treec740f8f098623e245fd00e689894b944fc2687f8 /toys/pending/diff.c
parent828fc9c8be7e68a901e4fe79504a67cb6c9c33e8 (diff)
downloadtoybox-eee28e7b5851a6eb16f7969393d8c6292b1f8754.tar.gz
Support fractional seconds (and other time units) in `top -d`.
LTP uses `top -d 0.1`, which isn't convincingly useful, but general support for other time units might be useful, and switching to xparsetime addresses both at once. Also fix 3169d948c049664bcf7216d4c4ae751881099d3e where I mistakenly treated `rev` and `toys.optflags&FLAG_b` as interchangeable. (Without this second fix, `top -b` looks fine but `top` is broken!) Also fix xparsetime to reject input such as "monkey" or "1monkey".
Diffstat (limited to 'toys/pending/diff.c')
0 files changed, 0 insertions, 0 deletions