diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2c709ddd92..fb7bb7fc7b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2009-04-01 Jari Aalto + + PR 9972 + * doc/binutils.texi (strings): Document the -V alias for the + --version option. + * strings.c (usage): Likewise. + 2009-03-31 Nick Clifton PR 9992 diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 009577f1f6..c6cec1df2b 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -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 diff --git a/binutils/strings.c b/binutils/strings.c index 30d2749037..dc582f56d0 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -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 @@ -663,7 +665,7 @@ usage (FILE *stream, int status) s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit\n\ @ Read options from \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);