]> git.ipfire.org Git - thirdparty/zstd.git/commit
Improves UX for --list command's lack of support for pipes
authorTopher Lubaway <asimplechris@gmail.com>
Mon, 11 Jun 2018 17:13:00 +0000 (10:13 -0700)
committerTopher Lubaway <asimplechris@gmail.com>
Mon, 11 Jun 2018 17:13:00 +0000 (10:13 -0700)
commit4c16608e3cb1fae8008466cc8684b8ea0e1d8449
tree8cc7b8e8fa4e53dafadcbe51073d10ecabf883f4
parent170f948eee011d8d916f4fb245187190707bc882
Improves UX for --list command's lack of support for pipes

--list does not support piped input
This checks for a terminal and exits 1 with a well formatted
error message if the STDIN is not from a terminal
programs/fileio.c