Send usage output to stdout or stderr depending on context.
authorMatthew Booth <mbooth@redhat.com>
Fri, 1 Oct 2010 16:23:11 +0000 (17:23 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 1 Oct 2010 16:23:11 +0000 (17:23 +0100)
commitf6e12eccb65bef3eb57631e54199d8b1610e7c5c
tree63131bb05128aa9e5dd9b5eb3629d54fb7fc5549
parente7d3f2ca1e2e74438db16bc0e8ed0778d5067653
Send usage output to stdout or stderr depending on context.

If usage information is displayed because of an error, it should go to stderr.
If it is displayed because the -h option was given it should go to stdout.
helper/main.c