diff options
author | Nick Clifton <nickc@redhat.com> | 2009-04-01 14:57:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-04-01 14:57:11 +0000 |
commit | ffbe5983cb2ae6b46f3e50d30f54309bf7fe7012 (patch) | |
tree | 8d49a813fc7bff00ae548ec71430eb3d3f42b3d4 /binutils | |
parent | e7495e4595478f4547f3d2b0647514ae4221a692 (diff) | |
download | gdb-ffbe5983cb2ae6b46f3e50d30f54309bf7fe7012.zip gdb-ffbe5983cb2ae6b46f3e50d30f54309bf7fe7012.tar.gz gdb-ffbe5983cb2ae6b46f3e50d30f54309bf7fe7012.tar.bz2 |
PR 9972
* doc/binutils.texi (strings): Document the -V alias for the
--version option.
* strings.c (usage): Likewise.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 7 | ||||
-rw-r--r-- | binutils/doc/binutils.texi | 3 | ||||
-rw-r--r-- | binutils/strings.c | 6 |
3 files changed, 13 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2c709dd..fb7bb7f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 009577f..c6cec1d 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 30d2749..dc582f5 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 <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); |