Of course, when there is an error, that much I understand. But what about these cases?
- User doesn't know how to run the program, so he (or she) simply runs it without parameters to get information. The program replies:
Stderr or stdout? My guess is stderr.Usage: TheProgram [Options] Infile Outfile.- User wants help and runs
Output to stderr or stdout? I would guess stderr, but stdout makes sense too, I think.Code:TheProgram --help- User wants to know the program's version and runs something like
Is the output supposed to go to stdout or stderr? I would guess stdout for this one.Code:TheProgram --version
Just trying to do things right…