In case I'm not yet in the running for the most pedantic change of this
release, I think the "days of the week are written with initial capitals
in English" subset of this patch is a strong contender.

(Found via `toybox help -a | ispell -l | sort | uniq`.)
---
 toys/lsb/mount.c   | 2 +-
 toys/lsb/su.c      | 2 +-
 toys/net/sntp.c    | 2 +-
 toys/other/lspci.c | 2 +-
 toys/posix/date.c  | 4 ++--
 toys/posix/tar.c   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
From f37a209038fa8afe9b88a71c5922ff465512d28d Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Thu, 12 Mar 2020 18:18:06 -0700
Subject: [PATCH] Fix various typos.

In case I'm not yet in the running for the most pedantic change of this
release, I think the "days of the week are written with initial capitals
in English" subset of this patch is a strong contender.

(Found via `toybox help -a | ispell -l | sort | uniq`.)
---
 toys/lsb/mount.c   | 2 +-
 toys/lsb/su.c      | 2 +-
 toys/net/sntp.c    | 2 +-
 toys/other/lspci.c | 2 +-
 toys/posix/date.c  | 4 ++--
 toys/posix/tar.c   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c
index 6b1dfa46..8ff084cf 100644
--- a/toys/lsb/mount.c
+++ b/toys/lsb/mount.c
@@ -38,7 +38,7 @@ config MOUNT
 
 #config SMBMOUNT
 #  bool "smbmount"
-#  deault n
+#  default n
 #  helo
 #    usage: smbmount SHARE DIR
 #
diff --git a/toys/lsb/su.c b/toys/lsb/su.c
index 3d6fd570..8083630f 100644
--- a/toys/lsb/su.c
+++ b/toys/lsb/su.c
@@ -20,7 +20,7 @@ config SU
 
     With one argument, switch to USER and run user's shell from /etc/passwd.
     With no arguments, USER is root. If COMMAND line provided after USER,
-    exec() it as new USER (bypasing shell). If -u or -g specified, first
+    exec() it as new USER (bypassing shell). If -u or -g specified, first
     argument (if any) isn't USER (it's COMMAND).
 
     first argument is USER name to switch to (which must exist).
diff --git a/toys/net/sntp.c b/toys/net/sntp.c
index 0cb0b7b4..19e131f7 100644
--- a/toys/net/sntp.c
+++ b/toys/net/sntp.c
@@ -21,7 +21,7 @@ config SNTP
     -a	Adjust system clock gradually
     -S	Serve time instead of querying (bind to SERVER address if specified)
     -m	Wait for updates from multicast ADDRESS (RFC 4330 default 224.0.1.1)
-    -M	Multicast server on ADDRESS (deault 224.0.0.1)
+    -M	Multicast server on ADDRESS (default 224.0.0.1)
     -t	TTL (multicast only, default 1)
     -d	Daemonize (run in background re-querying )
     -D	Daemonize but stay in foreground: re-query time every 1000 seconds
diff --git a/toys/other/lspci.c b/toys/other/lspci.c
index c208484d..4c115fd2 100644
--- a/toys/other/lspci.c
+++ b/toys/other/lspci.c
@@ -13,7 +13,7 @@ config LSPCI
 
     -e	Print all 6 digits in class
     -k	Print kernel driver
-    -m	Machine parseable format
+    -m	Machine readable format
 
 config LSPCI_TEXT
   bool "lspci readable output"
diff --git a/toys/posix/date.c b/toys/posix/date.c
index 75408cab..7fe0388d 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -43,8 +43,8 @@ config DATE
     %j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31)
     %N nanosec (output only)
 
-    %U Week of year (0-53 start sunday)   %W Week of year (0-53 start monday)
-    %V Week of year (1-53 start monday, week < 4 days not part of this year)
+    %U Week of year (0-53 start Sunday)   %W Week of year (0-53 start Monday)
+    %V Week of year (1-53 start Monday, week < 4 days not part of this year)
 
     %F "%Y-%m-%d"     %R "%H:%M"        %T "%H:%M:%S"    %z numeric timezone
     %D "%m/%d/%y"     %r "%I:%M:%S %p"  %h "%b"          %s unix epoch time
diff --git a/toys/posix/tar.c b/toys/posix/tar.c
index 1ac9400a..87e88f65 100644
--- a/toys/posix/tar.c
+++ b/toys/posix/tar.c
@@ -38,7 +38,7 @@ config TAR
     --mode MODE      Adjust modes           --mtime TIME  Override timestamps
     --owner NAME     Set file owner to NAME --group NAME  Set file group to NAME
     --sparse         Record sparse files
-    --restrict       All archive contents must extract under one subdirctory
+    --restrict       All archive contents must extract under one subdirectory
     --numeric-owner  Save/use/display uid and gid, not user/group name
     --no-recursion   Don't store directory contents
 */
-- 
2.25.1.481.gfbce0eb801-goog

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to