1 breakpoint is a breakpoint not a breakpoints.
authorJim Ingham <jingham@apple.com>
Fri, 29 Mar 2013 21:01:03 +0000 (21:01 +0000)
committerJim Ingham <jingham@apple.com>
Fri, 29 Mar 2013 21:01:03 +0000 (21:01 +0000)
rdar://problem/13536544

llvm-svn: 178367

lldb/source/Commands/CommandObjectBreakpoint.cpp

index 4ff7c15..8625a18 100644 (file)
@@ -1674,7 +1674,7 @@ protected:
             else
             {
                 target->RemoveAllBreakpoints ();
-                result.AppendMessageWithFormat ("All breakpoints removed. (%lu breakpoints)\n", num_breakpoints);
+                result.AppendMessageWithFormat ("All breakpoints removed. (%lu %s)\n", num_breakpoints, num_breakpoints > 1 ? "breakpoints" : "breakpoint");
             }
             result.SetStatus (eReturnStatusSuccessFinishNoResult);
         }