Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/hexdump From Bug Hunting:



details:   https://anonhg.NetBSD.org/src/rev/6383de33dd3f
branches:  trunk
changeset: 780008:6383de33dd3f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Jul 06 09:06:43 2012 +0000

description:
>From Bug Hunting:
- de-capitalize ``usage'' in `usage' message;
- synchronize `usage' message with man pages.

diffstat:

 usr.bin/hexdump/hexdump.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 9ddaf84f811e -r 6383de33dd3f usr.bin/hexdump/hexdump.c
--- a/usr.bin/hexdump/hexdump.c Fri Jul 06 09:05:26 2012 +0000
+++ b/usr.bin/hexdump/hexdump.c Fri Jul 06 09:06:43 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hexdump.c,v 1.17 2010/11/28 10:45:32 mrg Exp $ */
+/*     $NetBSD: hexdump.c,v 1.18 2012/07/06 09:06:43 wiz Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)hexdump.c  8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: hexdump.c,v 1.17 2010/11/28 10:45:32 mrg Exp $");
+__RCSID("$NetBSD: hexdump.c,v 1.18 2012/07/06 09:06:43 wiz Exp $");
 #endif
 #endif /* not lint */
 
@@ -98,13 +98,13 @@
 {
        const char *pname = getprogname();
 
-       (void)fprintf(stderr, "Usage: %s ", pname);
+       (void)fprintf(stderr, "usage: %s ", pname);
        if (isod)
                (void)fprintf(stderr, "[-aBbcDdeFfHhIiLlOovXx] [-A base] "
                    "[-j skip] [-N length] [-t type_string] [[+]offset[.][Bb]] "
                    "[file ...]\n");
        else
-               (void)fprintf(stderr, "[-bcCdovx] [-e fmt] [-f fmt_file] "
+               (void)fprintf(stderr, "[-bCcdovx] [-e format_string] [-f format_file] "
                    "[-n length] [-s skip] [file ...]\n");
        exit(1);
 }



Home | Main Index | Thread Index | Old Index