From a6c674b94b4d2c6732a58760d9086657d884671b Mon Sep 17 00:00:00 2001 From: erik Date: Sat, 15 Apr 2000 16:34:54 +0000 Subject: More documentation updates, and minor fixes to make things sync up with the docs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- tr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tr.c') diff --git a/tr.c b/tr.c index 3bfa48080..b631b0065 100644 --- a/tr.c +++ b/tr.c @@ -44,7 +44,7 @@ static char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: tr.c,v 1.2 2000/03/21 22:32:57 erik Exp $"; + "$Id: tr.c,v 1.3 2000/04/15 16:34:54 erik Exp $"; #endif /* not lint */ #endif /* #if 0 */ @@ -138,12 +138,12 @@ int cflag; static void tr_usage() { - (void) fprintf(stderr, "%s\n%s\n%s\n%s\n", - "usage: tr [-csu] string1 string2", - " tr [-cu] -d string1", - " tr [-cu] -s string1", - " tr [-cu] -ds string1 string2"); - exit(1); + usage( "\ttr [-csu] string1 string2\n" + "\ttr [-cu] -d string1\n" + "\ttr [-cu] -s string1\n" + "\ttr [-cu] -ds string1 string2\n\n" + "Translate, squeeze, and/or delete characters from standard\n" + "input, writing to standard output.\n"); } -- cgit v1.2.3-55-g6feb