diff options
author | charnier <charnier@FreeBSD.org> | 1997-06-06 06:40:06 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-06-06 06:40:06 +0000 |
commit | ae2a236f86574ac2f3111d2f53a2c1dc3428cf69 (patch) | |
tree | 2a639c2fe377f5baee76dd91605afdf1226dbb4a /bin | |
parent | 58f66f5d2c8a067f80bdc5b30a08c23134f9b79f (diff) | |
download | FreeBSD-src-ae2a236f86574ac2f3111d2f53a2c1dc3428cf69.zip FreeBSD-src-ae2a236f86574ac2f3111d2f53a2c1dc3428cf69.tar.gz |
Cosmetic change in usage string.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/date/date.c | 8 | ||||
-rw-r--r-- | bin/kill/kill.c | 11 | ||||
-rw-r--r-- | bin/ln/ln.c | 7 | ||||
-rw-r--r-- | bin/ps/ps.c | 11 |
4 files changed, 19 insertions, 18 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index 63707aa..8d95bda 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: date.c,v 1.11 1997/03/28 15:24:16 imp Exp $ + * $Id: date.c,v 1.12 1997/04/16 05:59:21 danny Exp $ */ #ifndef lint @@ -237,8 +237,8 @@ badformat() static void usage() { - (void)fprintf(stderr, - "usage: date [-nu] [-d dst] [-r seconds] [-t west] [+format]\n"); - (void)fprintf(stderr, " [yy[mm[dd[hh]]]]mm[.ss]]\n"); + (void)fprintf(stderr, "%s\n%s\n", + "usage: date [-nu] [-d dst] [-r seconds] [-t west] [+format]", + " [yy[mm[dd[hh]]]]mm[.ss]]"); exit(1); } diff --git a/bin/kill/kill.c b/bin/kill/kill.c index a816919..91493b9 100644 --- a/bin/kill/kill.c +++ b/bin/kill/kill.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kill.c,v 1.6 1997/02/22 14:03:45 peter Exp $ + * $Id: kill.c,v 1.7 1997/06/03 06:24:50 charnier Exp $ */ #ifndef lint @@ -180,9 +180,10 @@ void usage() { - (void)fprintf(stderr, "usage: kill [-s signal_name] pid ...\n"); - (void)fprintf(stderr, " kill -l [exit_status]\n"); - (void)fprintf(stderr, " kill -signal_name pid ...\n"); - (void)fprintf(stderr, " kill -signal_number pid ...\n"); + (void)fprintf(stderr, "%s\n%s\n%s\n%s\n", + "usage: kill [-s signal_name] pid ...", + " kill -l [exit_status]", + " kill -signal_name pid ...", + " kill -signal_number pid ..."); exit(1); } diff --git a/bin/ln/ln.c b/bin/ln/ln.c index 8146740..13fa3a8 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ln.c,v 1.9 1997/02/22 14:03:49 peter Exp $ + * $Id: ln.c,v 1.10 1997/03/28 15:24:22 imp Exp $ */ #ifndef lint @@ -157,7 +157,8 @@ linkit(target, source, isdir) void usage() { - (void)fprintf(stderr, - "usage:\tln [-fs] file1 file2\n\tln [-fs] file ... directory\n"); + (void)fprintf(stderr, "%s\n%s\n", + "usage: ln [-fs] file1 file2", + " ln [-fs] file ... directory"); exit(1); } diff --git a/bin/ps/ps.c b/bin/ps/ps.c index a91877f..93ab9de 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ps.c,v 1.18 1997/03/28 15:24:29 imp Exp $ + * $Id: ps.c,v 1.19 1997/04/29 05:26:05 jkh Exp $ */ #ifndef lint @@ -558,10 +558,9 @@ static void usage() { - (void)fprintf(stderr, - "usage:\t%s\n\t %s\n\t%s\n", - "ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user]", - "[-M core] [-N system] [-W swap]", - "ps [-L]"); + (void)fprintf(stderr, "%s\n%s\n%s\n", + "usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user]", + " [-M core] [-N system] [-W swap]", + " ps [-L]"); exit(1); } |