* doc/binutils.texi (strings): Document the -V alias for the
        --version option.
        * strings.c (usage): Likewise.
This commit is contained in:
Nick Clifton 2009-04-01 14:57:11 +00:00
parent e7495e4595
commit ffbe5983cb
3 changed files with 13 additions and 3 deletions

View 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

View 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

View 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);