From: Nick Clifton Date: Wed, 28 Sep 2022 14:29:18 +0000 (+0100) Subject: The help document of size misses an option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be5f79aa3952accc5133875f523875c0fa397761;p=binutils-gdb.git The help document of size misses an option. PR 29628 * size.c (usage): Add -f. * doc/binutils.texi (size): Add -f. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c1450155e0d..38debded7dd 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2022-09-28 Nick Clifton + + PR 29628 + * size.c (usage): Add -f. + * doc/binutils.texi (size): Add -f. + 2022-09-20 Nick Clifton * objcopy.c (copy_object): Do not issue a warning message when diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 34a4164eb94..5ea95edecf1 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -3117,6 +3117,7 @@ size [@option{-A}|@option{-B}|@option{-G}|@option{--format=}@var{compatibility}] [@option{--common}] [@option{-t}|@option{--totals}] [@option{--target=}@var{bfdname}] [@option{-V}|@option{--version}] + [@option{-f}] [@var{objfile}@dots{}] @c man end @end smallexample @@ -3203,6 +3204,9 @@ Total 388688 @end smallexample @item --help +@itemx -h +@itemx -H +@item -? Show a summary of acceptable arguments and options. @item -d @@ -3234,9 +3238,15 @@ Specify that the object-code format for @var{objfile} is automatically recognize many formats. @xref{Target Selection}, for more information. +@item -v @item -V @itemx --version Display the version number of @command{size}. + +@item -f +Ignored. This option is used by other versions of the @command{size} +program, but it is not supported by the GNU Binutils version. + @end table @c man end diff --git a/binutils/size.c b/binutils/size.c index 9bdafcb7ac5..8e9adcd1caa 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -92,11 +92,12 @@ usage (FILE *stream, int status) -A|-B|-G --format={sysv|berkeley|gnu} Select output style (default is %s)\n\ -o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex\n\ -t --totals Display the total sizes (Berkeley only)\n\ + -f Ignored.\n\ --common Display total size for *COM* syms\n\ --target= Set the binary file format\n\ @ Read options from \n\ - -h --help Display this information\n\ - -v --version Display the program's version\n\ + -h|-H|-? --help Display this information\n\ + -v|-V --version Display the program's version\n\ \n"), #if BSD_DEFAULT "berkeley"