[llvm] r262525 - [llvm-nm] Fix rendering of -s grouping with all the othe options.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 13:59:32 PST 2016


Author: davide
Date: Wed Mar  2 15:59:31 2016
New Revision: 262525

URL: http://llvm.org/viewvc/llvm-project?rev=262525&view=rev
Log:
[llvm-nm] Fix rendering of -s grouping with all the othe options.

Modified:
    llvm/trunk/tools/llvm-nm/llvm-nm.cpp

Modified: llvm/trunk/tools/llvm-nm/llvm-nm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-nm/llvm-nm.cpp?rev=262525&r1=262524&r2=262525&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-nm/llvm-nm.cpp (original)
+++ llvm/trunk/tools/llvm-nm/llvm-nm.cpp Wed Mar  2 15:59:31 2016
@@ -159,7 +159,8 @@ cl::alias JustSymbolNames("j", cl::desc(
 // line.
 cl::list<std::string> SegSect("s", cl::Positional, cl::ZeroOrMore,
                               cl::desc("Dump only symbols from this segment "
-                                       "and section name, Mach-O only"));
+                                       "and section name, Mach-O only"),
+                              cl::Grouping);
 
 cl::opt<bool> FormatMachOasHex("x", cl::desc("Print symbol entry in hex, "
                                              "Mach-O only"), cl::Grouping);




More information about the llvm-commits mailing list