[Toybox] [PATCH] Canonicalize the usage: lines for the POSIX toys.

enh enh at google.com
Sat Feb 1 22:16:30 PST 2020


This only touches 24 of the 68 toys/posix/ files --- the others were
already canonical.

Potentially contentious, so worth stating explicitly, is that there
were 8 matches for "COMMAND..." amongst all existing help output,
with 7 matches for various inconsistent variants involving something
with "ARG", so I resolved that in favor of using "COMMAND..." (which
is also shorter overall, and avoids nested []s).
---
 toys/posix/cal.c      | 2 +-
 toys/posix/cat.c      | 4 ++--
 toys/posix/chgrp.c    | 2 +-
 toys/posix/cksum.c    | 2 +-
 toys/posix/df.c       | 2 +-
 toys/posix/du.c       | 2 +-
 toys/posix/echo.c     | 2 +-
 toys/posix/env.c      | 2 +-
 toys/posix/file.c     | 2 +-
 toys/posix/head.c     | 2 +-
 toys/posix/kill.c     | 2 +-
 toys/posix/logger.c   | 2 +-
 toys/posix/ls.c       | 2 +-
 toys/posix/mkdir.c    | 2 +-
 toys/posix/nice.c     | 2 +-
 toys/posix/nohup.c    | 2 +-
 toys/posix/patch.c    | 2 +-
 toys/posix/renice.c   | 2 +-
 toys/posix/rmdir.c    | 2 +-
 toys/posix/tar.c      | 2 +-
 toys/posix/tee.c      | 2 +-
 toys/posix/time.c     | 2 +-
 toys/posix/uniq.c     | 2 +-
 toys/posix/uuencode.c | 4 ++--
 24 files changed, 26 insertions(+), 26 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Canonicalize-the-usage-lines-for-the-POSIX-toys.patch
Type: text/x-patch
Size: 10730 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200201/b07f8946/attachment-0001.bin>


More information about the Toybox mailing list