Is there a “use” notification in stderr?

When a user runs a program with incorrect arguments and the program prints a 'usage' instruction for the user, should it be printed on stderr?

+6
source share
1 answer

Many programs do this like this, gcc is one popular example. The rationale is that the normal output of the program can be redirected to another program, which will be confused by the error message (which is intended solely for human consumption).

+6
source

All Articles