CLI: Only read stdin if there were no files supplied and not in tty mode.

Fixes #563
Like what? Options don't add data to the args array.