[Libguestfs] [PATCH 2/2] Send usage output to stdout or stderr depending on context

Matthew Booth mbooth at redhat.com
Fri Oct 1 15:50:33 UTC 2010


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 |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Send-usage-output-to-stdout-or-stderr-depending-on-c.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20101001/e275ebad/attachment.bin>


More information about the Libguestfs mailing list