diff options
| -rw-r--r-- | cli/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/main.cpp b/cli/main.cpp index db265f7..6ec10a5 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -285,7 +285,10 @@ void displayCommandResult(QString json, bool withColor) if(!comment.isEmpty()) { - out << "\033[1m" << comment << "\033[0m\n"; + if(withColor) + out << "\033[1m" << comment << "\033[0m\n"; + else + out << comment << " "; } out << str << "\n"; } |