The help document of size misses an option.

PR 29628
	* size.c (usage): Add -f.
	* doc/binutils.texi (size): Add -f.
This commit is contained in:
Nick Clifton 2022-09-28 15:29:18 +01:00
parent 9cfd4ed49d
commit be5f79aa39
3 changed files with 19 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2022-09-28 Nick Clifton <nickc@redhat.com>
PR 29628
* size.c (usage): Add -f.
* doc/binutils.texi (size): Add -f.
2022-09-20 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_object): Do not issue a warning message when

View file

@ -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

View file

@ -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=<bfdname> Set the binary file format\n\
@<file> Read options from <file>\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"