changeset 1196:37ea9dff9c27 draft

Tweak help text.
author Rob Landley <rob@landley.net>
date Tue, 04 Feb 2014 06:20:14 -0600
parents c4e438cbd37a
children c08555a9d948
files toys/other/netcat.c toys/pending/mke2fs.c toys/posix/cp.c toys/posix/df.c
diffstat 4 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/toys/other/netcat.c	Tue Feb 04 06:16:44 2014 -0600
+++ b/toys/other/netcat.c	Tue Feb 04 06:20:14 2014 -0600
@@ -11,7 +11,7 @@
   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
--- a/toys/pending/mke2fs.c	Tue Feb 04 06:16:44 2014 -0600
+++ b/toys/pending/mke2fs.c	Tue Feb 04 06:20:14 2014 -0600
@@ -26,7 +26,7 @@
   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
--- a/toys/posix/cp.c	Tue Feb 04 06:16:44 2014 -0600
+++ b/toys/posix/cp.c	Tue Feb 04 06:20:14 2014 -0600
@@ -28,11 +28,11 @@
     -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
--- a/toys/posix/df.c	Tue Feb 04 06:16:44 2014 -0600
+++ b/toys/posix/df.c	Tue Feb 04 06:20:14 2014 -0600
@@ -26,12 +26,10 @@
     usage: df [-Pk]
 
     -P	The SUSv3 "Pedantic" option
+    -k	Sets units back to 1024 bytes (the default without -P)
 
-    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