aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-06-02 21:16:20 -0500
committerRob Landley <rob@landley.net>2014-06-02 21:16:20 -0500
commit314f19e4d2099eb19824df49d71953946486f78f (patch)
tree175a0ca0d19f045995da3e6e5328aa12ee90fc51 /toys/posix
parent8b3b9aa1bdbd3a1d721873e4359f650ff52427e5 (diff)
downloadtoybox-314f19e4d2099eb19824df49d71953946486f78f.tar.gz
Help text should have a blank line after usage: lines, and a couple other whitespace tweaks.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/cal.c1
-rw-r--r--toys/posix/cat.c1
-rw-r--r--toys/posix/cut.c14
-rw-r--r--toys/posix/mkdir.c1
-rw-r--r--toys/posix/rmdir.c1
5 files changed, 12 insertions, 6 deletions
diff --git a/toys/posix/cal.c b/toys/posix/cal.c
index e4301a64..bb476dfd 100644
--- a/toys/posix/cal.c
+++ b/toys/posix/cal.c
@@ -11,6 +11,7 @@ config CAL
default y
help
usage: cal [[month] year]
+
Print a calendar.
With one argument, prints all months of the specified year.
diff --git a/toys/posix/cat.c b/toys/posix/cat.c
index 78881c4c..3644c4f9 100644
--- a/toys/posix/cat.c
+++ b/toys/posix/cat.c
@@ -11,6 +11,7 @@ config CAT
default y
help
usage: cat [-u] [file...]
+
Copy (concatenate) files to stdout. If no files listed, copy from stdin.
Filename "-" is a synonym for stdin.
diff --git a/toys/posix/cut.c b/toys/posix/cut.c
index 5ca466dc..38f136e2 100644
--- a/toys/posix/cut.c
+++ b/toys/posix/cut.c
@@ -11,13 +11,15 @@ config CUT
default y
help
usage: cut OPTION... [FILE]...
+
Print selected parts of lines from each FILE to standard output.
- -b LIST select only these bytes from LIST.
- -c LIST select only these characters from LIST.
- -f LIST select only these fields.
- -d DELIM use DELIM instead of TAB for field delimiter.
- -s do not print lines not containing delimiters.
- -n don't split multibyte characters (Ignored).
+
+ -b LIST select only these bytes from LIST.
+ -c LIST select only these characters from LIST.
+ -f LIST select only these fields.
+ -d DELIM use DELIM instead of TAB for field delimiter.
+ -s do not print lines not containing delimiters.
+ -n don't split multibyte characters (Ignored).
*/
#define FOR_cut
#include "toys.h"
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c
index 5cbc28db..739f961b 100644
--- a/toys/posix/mkdir.c
+++ b/toys/posix/mkdir.c
@@ -11,6 +11,7 @@ config MKDIR
default y
help
usage: mkdir [-vp] [-m mode] [dirname...]
+
Create one or more directories.
-m set permissions of directory to mode.
diff --git a/toys/posix/rmdir.c b/toys/posix/rmdir.c
index fec3ce98..23266c31 100644
--- a/toys/posix/rmdir.c
+++ b/toys/posix/rmdir.c
@@ -11,6 +11,7 @@ config RMDIR
default y
help
usage: rmdir [-p] [dirname...]
+
Remove one or more directories.
-p Remove path.