Skip to content

Commit 9751f02

Browse files
Kevin Freikevinfrei
Kevin Frei
authored andcommitted
Updated help for --error-display to also indicate it implies --verify
1 parent b8ff275 commit 9751f02

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ static opt<bool> Verify("verify", desc("Verify the DWARF debug info."),
286286
cat(DwarfDumpCategory));
287287
static opt<ErrorDetailLevel> ErrorDetails(
288288
"error-display", init(Unspecified),
289+
desc("Set the level of detail and summary to display when verifying "
290+
"(implies --verify)"),
289291
values(clEnumValN(NoDetailsOrSummary, "quiet",
290292
"Only display whether errors occurred."),
291293
clEnumValN(NoDetailsOnlySummary, "summary",
@@ -296,10 +298,10 @@ static opt<ErrorDetailLevel> ErrorDetails(
296298
"Display each error as well as a summary. [default]")),
297299
cat(DwarfDumpCategory));
298300
static opt<std::string> JsonSummaryFile(
299-
"json-summary-file", cl::init(""),
300-
cl::desc("Output JSON-formatted error summary to the specified file. "
301-
"(Implies -verify)"),
302-
cl::value_desc("filename.json"), cat(DwarfDumpCategory));
301+
"json-summary-file", init(""),
302+
desc("Output JSON-formatted error summary to the specified file. "
303+
"(Implies --verify)"),
304+
value_desc("filename.json"), cat(DwarfDumpCategory));
303305
static opt<bool> Quiet("quiet", desc("Use with -verify to not emit to STDOUT."),
304306
cat(DwarfDumpCategory));
305307
static opt<bool> DumpUUID("uuid", desc("Show the UUID for each architecture."),

0 commit comments

Comments
 (0)