Index: llvm/trunk/docs/CommandGuide/llvm-nm.rst =================================================================== --- llvm/trunk/docs/CommandGuide/llvm-nm.rst +++ llvm/trunk/docs/CommandGuide/llvm-nm.rst @@ -121,7 +121,7 @@ .. 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 Index: llvm/trunk/tools/llvm-nm/llvm-nm.cpp =================================================================== --- llvm/trunk/tools/llvm-nm/llvm-nm.cpp +++ llvm/trunk/tools/llvm-nm/llvm-nm.cpp @@ -147,7 +147,7 @@ cl::aliasopt(ReverseSort), cl::Grouping); cl::opt 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);