Do not use \r if output is not a terminal

This commit is contained in:
Vitaliy Filippov
2024-02-29 00:21:17 +03:00
parent 5af23672d0
commit 77167e2920
4 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ static const char* help_text =
" --parallel_osds M Work with M osds in parallel when possible (default 4)\n"
" --progress 1|0 Report progress (default 1)\n"
" --cas 1|0 Use CAS writes for flatten, merge, rm (default is decide automatically)\n"
" --no-color Disable colored output\n"
" --color 1|0 Enable/disable colored output and CR symbols (default 1 if stdout is a terminal)\n"
" --json JSON output\n"
;