=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vis/vis.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/vis/vis.c 2010/08/21 19:00:50 1.13 +++ src/usr.bin/vis/vis.c 2010/08/24 23:49:06 1.14 @@ -1,4 +1,4 @@ -/* $OpenBSD: vis.c,v 1.13 2010/08/21 19:00:50 djm Exp $ */ +/* $OpenBSD: vis.c,v 1.14 2010/08/24 23:49:06 djm Exp $ */ /* $NetBSD: vis.c,v 1.4 1994/12/20 16:13:03 jtc Exp $ */ /*- @@ -53,7 +53,7 @@ FILE *fp; int ch; - while ((ch = getopt(argc, argv, "anwctshobfF:ld")) != -1) + while ((ch = getopt(argc, argv, "anwctsobfF:ld")) != -1) switch((char)ch) { case 'a': eflags |= VIS_ALL; @@ -73,9 +73,6 @@ case 's': eflags |= VIS_SAFE; break; - case 'h': - eflags |= VIS_HEX; - break; case 'o': eflags |= VIS_OCTAL; break; @@ -175,7 +172,7 @@ { extern char *__progname; - fprintf(stderr, "usage: %s [-abcfhlnostw] [-F foldwidth] [file ...]\n", + fprintf(stderr, "usage: %s [-abcflnostw] [-F foldwidth] [file ...]\n", __progname); exit(1); }