]> xenbits.xensource.com Git - libvirt.git/commit
example: Redirect --help output to stdout/stderr
authorPhilipp Hahn <hahn@univention.de>
Wed, 12 Oct 2011 15:11:58 +0000 (17:11 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 12 Oct 2011 22:14:28 +0000 (16:14 -0600)
commit78adf5099f9e14322f8704e1b5d167911e556245
treea873ff213cf6fb15eb7a9f2c4fa73e81c2ff929e
parent08d56e24b088be004e432a8d22d2ddea0556efa1
example: Redirect --help output to stdout/stderr

When --help is requested, print usage() to stdout.
When an illegal option is passed, print usage to stderr.

Signed-off-by: Philipp Hahn <hahn@univention.de>
examples/domain-events/events-python/event-test.py