Merge pull request #9632 from mikeller/improve_error_formatting

Improved styling of error messages in CLI.
This commit is contained in:
Michael Keller 2020-06-22 00:22:24 +12:00 committed by GitHub
commit 88cf45872f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ void cliPrintLinef(const char *format, ...)
static void cliPrintErrorVa(const char *cmdName, const char *format, va_list va)
{
if (cliErrorWriter) {
cliPrintInternal(cliErrorWriter, "###ERROR: ");
cliPrintInternal(cliErrorWriter, "###ERROR IN ");
cliPrintInternal(cliErrorWriter, cmdName);
cliPrintInternal(cliErrorWriter, ": ");