summaryrefslogtreecommitdiffstats
path: root/usr.bin/tconv/tconv.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-13 06:58:45 +0000
committercharnier <charnier@FreeBSD.org>1997-08-13 06:58:45 +0000
commit06f6291f1600586553532a3c133c4b12efdffb78 (patch)
treeb8d9e10b4fd35936dd300827a9431b99e2c14161 /usr.bin/tconv/tconv.c
parentee20f297c2c52439935a6b43c00dbc6e00ce5d4a (diff)
downloadFreeBSD-src-06f6291f1600586553532a3c133c4b12efdffb78.zip
FreeBSD-src-06f6291f1600586553532a3c133c4b12efdffb78.tar.gz
Cosmetic in usage(). Mdoc'ify man page.
Diffstat (limited to 'usr.bin/tconv/tconv.c')
-rw-r--r--usr.bin/tconv/tconv.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/usr.bin/tconv/tconv.c b/usr.bin/tconv/tconv.c
index 2c281994..9ad7a76 100644
--- a/usr.bin/tconv/tconv.c
+++ b/usr.bin/tconv/tconv.c
@@ -55,11 +55,12 @@
#endif
#ifndef lint
-static const char SCCSid[] = "@(#) mytinfo tconv.c 3.2 92/02/01 public domain, By Ross Ridge";
+static const char SCCSid[] =
+ "@(#) mytinfo tconv.c 3.2 92/02/01 public domain, By Ross Ridge";
+static const char rcsid[] =
+ "$Id$";
#endif
-extern int errno;
-
/* the right margin of the output */
#define LINELEN 76
@@ -155,7 +156,7 @@ void
push() {
if (stackptr > MAX_PUSHED) {
warn();
- fprintf(stderr, "string to complex to covert\n");
+ fprintf(stderr, "string to complex to convert\n");
} else
stack[stackptr++] = onstack;
}
@@ -1185,13 +1186,15 @@ int e; {
}
/* print out usage, called by quit */
-/* ARGSUSED */
+/* ARGSUSED */
void
usage(e)
int e; {
- fprintf(stderr,
-"usage: %s [-b] [-c [-OUGd]] [-i] [-B [-D dir]] [-I] [-k] [-V]\n\t[-t term] [file]\n",
- prg_name);
+ fprintf(stderr, "%s\n%s\n%s\n%s\n",
+ "usage: tconv [-b] [-c [-OUGd]] [-i] [-B [-D dir]] [-I] [-k] [-V]",
+ " [-t term] [file]",
+ " tic [file]",
+ " captoinfo [-t term] [-OUGdk] [file]");
return;
}
OpenPOWER on IntegriCloud