Subject: bin/5266: hexdump usage message doesn't mention new -C option
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 04/08/1998 10:49:45
>Number: 5266
>Category: bin
>Synopsis: hexdump usage message doesn't mention new -C option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 8 09:05:00 1998
>Last-Modified:
>Originator: Dave Huang
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release: NetBSD-current as of April 6, 1998
>Environment:
System: NetBSD dahan.metonymy.com 1.3E NetBSD 1.3E (SPIFF) #204: Tue Apr 7 13:54:49 CDT 1998 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
>Description:
hexdump's usage message doesn't mention the new -C (canonical
hex+ASCII) option.
>How-To-Repeat:
% hexdump -h
hexdump: illegal option -- h
hexdump: [-bcdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
>Fix:
--- /usr/src/usr.bin/hexdump/hexsyntax.c Sat Feb 21 06:12:17 1998
+++ hexsyntax.c Wed Apr 8 10:46:09 1998
@@ -134,6 +134,6 @@
usage()
{
(void)fprintf(stderr,
-"hexdump: [-bcdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n");
+"hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]\n");
exit(1);
}
>Audit-Trail:
>Unformatted: