PR 9972
authorNick Clifton <nickc@redhat.com>
Wed, 1 Apr 2009 14:57:11 +0000 (14:57 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 1 Apr 2009 14:57:11 +0000 (14:57 +0000)
        * doc/binutils.texi (strings): Document the -V alias for the
        --version option.
        * strings.c (usage): Likewise.

binutils/ChangeLog
binutils/doc/binutils.texi
binutils/strings.c

index 2c709dd..fb7bb7f 100644 (file)
@@ -1,3 +1,10 @@
+2009-04-01  Jari Aalto  <jari.aalto@cante.net>
+
+       PR 9972
+       * doc/binutils.texi (strings): Document the -V alias for the
+       --version option.
+       * strings.c (usage): Likewise.
+
 2009-03-31  Nick Clifton  <nickc@redhat.com>
 
        PR 9992
index 009577f..c6cec1d 100644 (file)
@@ -2318,7 +2318,7 @@ ar(1), objdump(1), readelf(1), and the Info entries for @file{binutils}.
 
 @smallexample
 @c man begin SYNOPSIS strings
-strings [@option{-afov}] [@option{-}@var{min-len}]
+strings [@option{-afovV}] [@option{-}@var{min-len}]
         [@option{-n} @var{min-len}] [@option{--bytes=}@var{min-len}]
         [@option{-t} @var{radix}] [@option{--radix=}@var{radix}]
         [@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}]
@@ -2392,6 +2392,7 @@ Specify an object code format other than your system's default format.
 @xref{Target Selection}, for more information.
 
 @item -v
+@itemx -V
 @itemx --version
 Print the program version number on the standard output and exit.
 @end table
index 30d2749..dc582f5 100644 (file)
@@ -1,6 +1,7 @@
 /* strings -- print the strings of printable characters in files
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-   2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+   2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+   Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -53,6 +54,7 @@
    -h          Print the usage message on the standard output.
 
    --version
+   -V
    -v          Print the program version number.
 
    Written by Richard Stallman <rms@gnu.ai.mit.edu>
@@ -663,7 +665,7 @@ usage (FILE *stream, int status)
                             s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit\n\
   @<file>                   Read options from <file>\n\
   -h --help                 Display this information\n\
-  -v --version              Print the program's version number\n"));
+  -v -V --version           Print the program's version number\n"));
   list_supported_targets (program_name, stream);
   if (REPORT_BUGS_TO[0] && status == 0)
     fprintf (stream, _("Report bugs to %s\n"), REPORT_BUGS_TO);