rdar://problem/10267705

Clarification on the error message when the display format (eFormatBytes/eFormatBytesWithASCII) conflicts
with the byte size.

llvm-svn: 152084
This commit is contained in:
Johnny Chen 2012-03-06 01:17:59 +00:00
parent 024ba20bef
commit da324de971
1 changed files with 3 additions and 1 deletions

View File

@ -181,7 +181,9 @@ public:
if (byte_size_option_set)
{
if (byte_size_value > 1)
error.SetErrorString ("use --count option to specify an end address to display a number of bytes");
error.SetErrorStringWithFormat ("display format (bytes/bytes with ascii) conflicts with the specified byte size %llu\n"
"\tconsider using a different display format or don't specify the byte size",
byte_size_value.GetCurrentValue());
}
else
byte_size_value = 1;