[Toybox] [PATCH] Various help fixes.

enh enh at google.com
Thu Dec 14 20:21:15 PST 2023


Ensure that the usage lines include everything mentioned below in
the detailed help, and vice versa.

Plus a couple of clarifications (like what's the offset for
fallocate, and the fact that the length is mandatory).

For the ones I've touched, I've improved the consistency of
alphabetization, but I haven't alphabetized the ones I had no other
reason to touch.
---
 toys/lsb/gzip.c        |  2 +-
 toys/lsb/mktemp.c      |  2 +-
 toys/net/httpd.c       |  2 +-
 toys/net/netcat.c      |  6 +++---
 toys/other/factor.c    |  2 +-
 toys/other/fallocate.c |  7 +++++--
 toys/other/hexedit.c   |  2 +-
 toys/other/readlink.c  |  2 +-
 toys/other/sha3sum.c   |  2 +-
 toys/other/timeout.c   |  2 +-
 toys/other/watch.c     |  2 +-
 toys/posix/cal.c       |  2 +-
 toys/posix/cksum.c     |  6 +++---
 toys/posix/cp.c        |  6 +++---
 toys/posix/cpio.c      |  2 +-
 toys/posix/df.c        | 10 +++++-----
 toys/posix/du.c        | 10 +++++-----
 toys/posix/echo.c      |  4 ++--
 toys/posix/env.c       |  2 +-
 toys/posix/fold.c      |  2 +-
 toys/posix/grep.c      |  2 +-
 toys/posix/head.c      |  2 +-
 toys/posix/id.c        |  2 +-
 toys/posix/ln.c        |  4 ++--
 toys/posix/nice.c      |  2 ++
 toys/posix/patch.c     |  2 +-
 toys/posix/renice.c    |  9 ++++++---
 toys/posix/sort.c      | 11 ++++++-----
 toys/posix/test.c      |  2 +-
 toys/posix/uname.c     |  5 +++--
 toys/posix/wc.c        |  2 +-
 toys/posix/xargs.c     |  4 ++--
 32 files changed, 66 insertions(+), 56 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Various-help-fixes.patch
Type: application/octet-stream
Size: 20121 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20231214/75bc97a0/attachment-0001.obj>


More information about the Toybox mailing list