diff --git a/llvm/docs/CommandGuide/llvm-dwarfdump.rst b/llvm/docs/CommandGuide/llvm-dwarfdump.rst index f8e30ebaa173..acb85f55d677 100644 --- a/llvm/docs/CommandGuide/llvm-dwarfdump.rst +++ b/llvm/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/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 4109b6f90c21..371e9406e1da 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/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(