CLI: Only use colors and progress if stdout is a TTY (bug 1449)
commitdfb0f45befaac38d5a9a83483069b3e1e316550f
authorThomas Perl <m@thp.io>
Mon, 17 Oct 2011 14:28:04 +0000 (17 16:28 +0200)
committerThomas Perl <m@thp.io>
Mon, 17 Oct 2011 14:28:04 +0000 (17 16:28 +0200)
tree35b2b695a1fd70a285d41be600666f02ad423e95
parent160c71243226477042e172f168ef78930b71930e
CLI: Only use colors and progress if stdout is a TTY (bug 1449)

This makes the "gpo" output more readable when the standard output
is not an interactive terminal (e.g. cronjob or logged script).
bin/gpo