Add info for detect output: terminal or pipe.