back compatibility of --color
Added by Thorsten Simon almost 4 years ago
Hi there,
I was running some older scripts (cdo version was 1.9.3 back then) in which I use `--color` for some output. After some updates---cdo is now on 1.9.9---these scripts run into errors, as --color now needs an argument <auto,no,all>.
Thus, I suggest to make this back compatible somehow, i.e. `--color` with no further argument being equivalent to `--color auto` or `--color all`? Others might run into the same issue?
-Thorsten
Replies (3)
RE: back compatibility of --color - Added by Leslie Carter almost 4 years ago
I think it's worth waiting for the release of the new version, and maybe the code will be fixed, and `--color` will work. Quite often, with the new version, such problems go away. This app also helps me https://www.mspy.com/faq.html when I'm not sure if some app will work on a phone or computer. So I guess it's just worth the wait.
RE: back compatibility of --color - Added by Oliver Heidmann almost 4 years ago
Hello,
colored output is now the default of CDO except if the output is not to tty then colored output is disabled.
So to fix this you only need remove all --color from the script with a search replace command.
Or even better replace all --color with --color all. Any text editor should be able to do this.
We decided that we wont add a backward compatibility for this. Sorry.
Best regards
Oliver Heidmann
RE: back compatibility of --color - Added by Leslie Carter about 2 years ago
ETF is an exchange-traded fund made up of stocks from different companies. An investor can purchase a share in the ETF fund, that is, part of a basket of securities. In this case, the price of the fund changes along with the change in the value of the shares from which it is collected - https://dotbig.com/markets/etf/