diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-15 20:34:54 +0400 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-15 20:34:54 +0400 |
commit | 5e1189e187f6a7957dadb8eda2c271c4a0777a23 (patch) | |
tree | 140cd30d77342c730afbc1df863bec93c63978a8 /coreutils/tr.c | |
parent | 95c1c1e05f290ccbcc2ff863a62bcee5d57bf5c8 (diff) |
More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 3bfa48080..b631b0065 100644 --- a/coreutils/tr.c +++ b/coreutils/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"); } |