On Thu, 21 Jun 2007, Johannes Schindelin wrote:
The only quirk here is that "--stdin" makes no sense with a pager.
Therefore, you'd have to move the automatic pager invocation to _after_
option parsing.
I don't know.. The pager invocation already checks whether the output is a
tty. Quite frankly, I think that is sufficient for all cases we're
discussing right now (ie anybody who uses "--stdin" would *also* redirect
the output!), and we could certainly make it check that both the input
*and* the output is a tty.
Linus