diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -137,7 +137,7 @@ // Note that the negation in the argument name causes a slightly confusing // mapping of the enum values. -static constexpr OptionEnumValueElement g_dependents_enumaration[] = { +static constexpr OptionEnumValueElement g_dependents_enumeration[] = { { eLoadDependentsDefault, "default", diff --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td --- a/lldb/source/Commands/Options.td +++ b/lldb/source/Commands/Options.td @@ -863,7 +863,7 @@ let Command = "target dependents" in { def dependents_no_dependents : Option<"no-dependents", "d">, Group<1>, - OptionalEnumArg<"Value", "OptionEnumValues(g_dependents_enumaration)">, + OptionalEnumArg<"Value", "OptionEnumValues(g_dependents_enumeration)">, Desc<"Whether or not to load dependents when creating a target. If the " "option is not specified, the value is implicitly 'default'. If the " "option is specified but without a value, the value is implicitly "