[llvm-nm] Fix docs and help text for --print-size

The --print-size help text and documentation claimed that the size was
printed instead of the address, but this is incorrect. It is printed as
well as the address. This patch fixes this issue.

Reviewed by: MaskRay, mtrent, ruiu

Differential Revision: https://reviews.llvm.org/D63142

llvm-svn: 363136
This commit is contained in:
James Henderson 2019-06-12 10:44:41 +00:00
parent f243ca4af8
commit 2c16bb8034
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ OPTIONS
.. option:: --print-size, -S
Show symbol size instead of address.
Show symbol size as well as address (not applicable for Mach-O).
.. option:: --size-sort

View File

@ -147,7 +147,7 @@ cl::alias ReverseSortr("r", cl::desc("Alias for --reverse-sort"),
cl::aliasopt(ReverseSort), cl::Grouping);
cl::opt<bool> PrintSize("print-size",
cl::desc("Show symbol size instead of address"),
cl::desc("Show symbol size as well as address"),
cl::cat(NMCat));
cl::alias PrintSizeS("S", cl::desc("Alias for --print-size"),
cl::aliasopt(PrintSize), cl::Grouping);