From 86edbf41d1ad98b057f0e4e14bbd47eb3b6014f9 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 26 Oct 2011 00:56:27 +0000 Subject: Cleaned up many error codes. For any who is filling in error strings into lldb_private::Error objects the rules are: - short strings that don't start with a capitol letter unless the name is a class or anything else that is always capitolized - no trailing newline character - should be one line if possible Implemented a first pass at adding "--gdb-format" support to anything that accepts format with optional size/count. llvm-svn: 142999 --- lldb/source/Interpreter/OptionGroupArchitecture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Interpreter/OptionGroupArchitecture.cpp') diff --git a/lldb/source/Interpreter/OptionGroupArchitecture.cpp b/lldb/source/Interpreter/OptionGroupArchitecture.cpp index 377bac0c61a..a94d1fc0a74 100644 --- a/lldb/source/Interpreter/OptionGroupArchitecture.cpp +++ b/lldb/source/Interpreter/OptionGroupArchitecture.cpp @@ -71,7 +71,7 @@ OptionGroupArchitecture::SetOptionValue (CommandInterpreter &interpreter, break; default: - error.SetErrorStringWithFormat ("Unrecognized option '%c'.\n", short_option); + error.SetErrorStringWithFormat ("unrecognized option '%c'", short_option); break; } -- cgit v1.2.3