summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/odsyntax.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-16 01:24:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-16 01:24:00 +0000
commitead2defa1cd3f73bfe21fb002d6dc093f0223c92 (patch)
tree41e5d3759ed7dd28815dd27843d28a9feaa9ca7c /usr.bin/hexdump/odsyntax.c
parentc625bdda10687b3a4a57e80783730067a0490964 (diff)
clean up the od(1) usage form, it was ugly with a capital u
Diffstat (limited to 'usr.bin/hexdump/odsyntax.c')
-rw-r--r--usr.bin/hexdump/odsyntax.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c
index e1d0ec337ea..344bb31bb38 100644
--- a/usr.bin/hexdump/odsyntax.c
+++ b/usr.bin/hexdump/odsyntax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: odsyntax.c,v 1.13 2003/06/12 20:58:09 deraadt Exp $ */
+/* $OpenBSD: odsyntax.c,v 1.14 2006/03/16 01:23:59 deraadt Exp $ */
/* $NetBSD: odsyntax.c,v 1.15 2001/12/07 15:14:29 bjh21 Exp $ */
/*-
@@ -32,7 +32,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)odsyntax.c 5.4 (Berkeley) 3/8/91";*/
-static char rcsid[] = "$OpenBSD: odsyntax.c,v 1.13 2003/06/12 20:58:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: odsyntax.c,v 1.14 2006/03/16 01:23:59 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -183,7 +183,8 @@ oldsyntax(int argc, char ***argvp)
warnx("od(1) has been deprecated for hexdump(1).");
if (ch != '?')
warnx(
-"hexdump(1) compatibility doesn't support the -%c option%s\n",
+ "hexdump(1) compatibility doesn't"
+ " support the -%c option%s",
ch, ch == 's' ? "; see strings(1)." : ".");
oldusage();
}
@@ -303,8 +304,8 @@ oldusage(void)
{
extern char *__progname;
fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOovXx] [-j skip] "
- "[-N length] [-t type_string] "
- "[[+]offset[.][Bb]] [file ...]\n", __progname);
+ "[-N length] [-t type_string]\n"
+ " [[+]offset[.][Bb]] [file ...]\n", __progname);
exit(1);
}