diff --git a/docs/CommandGuide/llvm-dwarfdump.rst b/docs/CommandGuide/llvm-dwarfdump.rst index f8e30ebaa17..acb85f55d67 100644 --- a/docs/CommandGuide/llvm-dwarfdump.rst +++ b/docs/CommandGuide/llvm-dwarfdump.rst @@ -53,8 +53,7 @@ OPTIONS .. option:: -i, --ignore-case - Ignore case distinctions in when searching entries by name - or by regular expression. + Ignore case distinctions when searching. .. option:: -n , --name= diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 4109b6f90c2..371e9406e1d 100644 --- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -141,10 +141,9 @@ static list "-name option can be used instead."), value_desc("name"), cat(DwarfDumpCategory)); static alias FindAlias("f", desc("Alias for -find."), aliasopt(Find)); -static opt - IgnoreCase("ignore-case", - desc("Ignore case distinctions in when searching by name."), - value_desc("i"), cat(DwarfDumpCategory)); +static opt IgnoreCase("ignore-case", + desc("Ignore case distinctions when searching."), + value_desc("i"), cat(DwarfDumpCategory)); static alias IgnoreCaseAlias("i", desc("Alias for -ignore-case."), aliasopt(IgnoreCase)); static list Name(