libopkg: line-wrap descriptions only on interactive terminals
authorJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 09:14:02 +0000 (10:14 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 09:14:02 +0000 (10:14 +0100)
Various programs call opkg and extract information from its list and info
commands. To simplify parsing the output, do not line-wrap long description
lines if opkg is not talking to a tty.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

No differences found