aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/other/netcat.c2
-rw-r--r--toys/pending/mke2fs.c2
-rw-r--r--toys/posix/cp.c4
-rw-r--r--toys/posix/df.c8
4 files changed, 7 insertions, 9 deletions
diff --git a/toys/other/netcat.c b/toys/other/netcat.c
index c5d1ee7d..d002b047 100644
--- a/toys/other/netcat.c
+++ b/toys/other/netcat.c
@@ -11,7 +11,7 @@ config NETCAT
bool "netcat"
default y
help
- usage: netcat [-wpq #] [-s addr] [-u] {IPADDR PORTNUM|-f FILENAME}
+ usage: netcat [-u] [-wpq #] [-s addr] {IPADDR PORTNUM|-f FILENAME}
-f use FILENAME (ala /dev/ttyS0) instead of network
-p local port number
diff --git a/toys/pending/mke2fs.c b/toys/pending/mke2fs.c
index 750e4424..a2c15291 100644
--- a/toys/pending/mke2fs.c
+++ b/toys/pending/mke2fs.c
@@ -26,7 +26,7 @@ config MKE2FS_JOURNAL
default n
depends on MKE2FS
help
- usage: [-j] [-J size=###,device=XXX]
+ usage: mke2fs [-j] [-J size=###,device=XXX]
-j Create journal (ext3)
-J Journal options
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index 817a0c62..a8d3aee9 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -28,11 +28,11 @@ config CP
-P Do not follow symlinks [default]
config CP_MORE
- bool "cp -rdavsl options"
+ bool "cp -adlnrsv options"
default y
depends on CP
help
- usage: cp [-rdavsl]
+ usage: cp [-adlnrsv]
-a same as -dpr
-d don't dereference symlinks
diff --git a/toys/posix/df.c b/toys/posix/df.c
index 97b3234f..ed41a4ee 100644
--- a/toys/posix/df.c
+++ b/toys/posix/df.c
@@ -26,12 +26,10 @@ config DF_PEDANTIC
usage: df [-Pk]
-P The SUSv3 "Pedantic" option
-
- Provides a slightly less useful output format dictated by
- the Single Unix Specification version 3, and sets the
- units to 512 bytes instead of the default 1024 bytes.
-
-k Sets units back to 1024 bytes (the default without -P)
+
+ Pedantic provides a slightly less useful output format dictated by Posix,
+ and sets the units to 512 bytes instead of the default 1024 bytes.
*/
#define FOR_df