aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-03-12 18:18:06 -0700
committerRob Landley <rob@landley.net>2020-03-13 00:52:32 -0500
commit0fe9185c669b95ae58cfce6373348e2d9a7e1cfa (patch)
treeb941867a5c42358b263b1df8fe558b37a652628a
parentf1142e5b6d86eb918bd0176b28544e6110bc9e2f (diff)
downloadtoybox-0fe9185c669b95ae58cfce6373348e2d9a7e1cfa.tar.gz
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`.)
-rw-r--r--toys/lsb/mount.c2
-rw-r--r--toys/lsb/su.c2
-rw-r--r--toys/net/sntp.c2
-rw-r--r--toys/other/lspci.c2
-rw-r--r--toys/posix/date.c4
-rw-r--r--toys/posix/tar.c2
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
*/