From 314f19e4d2099eb19824df49d71953946486f78f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 2 Jun 2014 21:16:20 -0500 Subject: Help text should have a blank line after usage: lines, and a couple other whitespace tweaks. --- toys/posix/cal.c | 1 + toys/posix/cat.c | 1 + toys/posix/cut.c | 14 ++++++++------ toys/posix/mkdir.c | 1 + toys/posix/rmdir.c | 1 + 5 files changed, 12 insertions(+), 6 deletions(-) (limited to 'toys/posix') 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. -- cgit v1.2.3