Index: test/tools/llvm-dwarfdump/cmdline.test
===================================================================
--- test/tools/llvm-dwarfdump/cmdline.test
+++ test/tools/llvm-dwarfdump/cmdline.test
@@ -3,6 +3,10 @@
HELP: USAGE: llvm-dwarfdump{{[^ ]*}} [options]
HELP: Color Options
HELP: -color
+HELP: Generic Options
+HELP: -help
+HELP: -help-list
+HELP: -version
HELP: Section-specific Dump Options
HELP: -debug-info - Dump the .debug_info section
HELP: -eh-frame
Index: tools/llvm-dwarfdump/llvm-dwarfdump.cpp
===================================================================
--- tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -92,8 +92,6 @@
using namespace cl;
OptionCategory DwarfDumpCategory("Specific Options");
-static opt Help("h", desc("Alias for -help"), Hidden,
- cat(DwarfDumpCategory));
static list
InputFilenames(Positional, desc(""),
ZeroOrMore, cat(DwarfDumpCategory));
@@ -575,11 +573,6 @@
"pretty-print DWARF debug information in object files"
" and debug info archives.\n");
- if (Help) {
- PrintHelpMessage(/*Hidden =*/false, /*Categorized =*/true);
- return 0;
- }
-
// FIXME: Audit interactions between these two options and make them
// compatible.
if (Diff && Verbose) {