[Lldb-commits] [lldb] [lldb] Add actionable feedback when overwriting a command fails (PR #76030)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 20 01:46:53 PST 2023
================
@@ -1160,7 +1160,9 @@ Status CommandInterpreter::AddUserCommand(llvm::StringRef name,
if (UserCommandExists(name)) {
if (!can_replace) {
- result.SetErrorString("user command exists and force replace not set");
+ result.SetErrorString(
+ "user command exists and force replace not set by --overwrite or "
----------------
DavidSpickett wrote:
Also "was not set by" ? (adding "was")
https://github.com/llvm/llvm-project/pull/76030
More information about the lldb-commits
mailing list