maint: Include bug-reporting info in --help output
commitf5048cb7517348a20ba202e435e1006a8f5001cf
authorEric Blake <eblake@redhat.com>
Thu, 3 Aug 2017 16:33:53 +0000 (3 11:33 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Aug 2017 15:28:53 +0000 (8 17:28 +0200)
tree43c38ad8c01bdcd8d61302d02ed052eba0324850
parent8f1c29af01c80183d7bd9166690212929a46ad48
maint: Include bug-reporting info in --help output

These days, many programs are including a bug-reporting address,
or better yet, a link to the project web site, at the tail of
their --help output.  However, we were not very consistent at
doing so: only qemu-nbd and qemu-qa mentioned anything, with the
latter pointing to an individual person instead of the project.

Add a new #define that sets up a uniform string, mentioning both
bug reporting instructions and overall project details, and which
a downstream vendor could tweak if they want bugs to go to a
downstream database.  Then use it in all of our binaries which
have --help output.

The canned text intentionally references http:// instead of https://
because our https website currently causes certificate errors in
some browsers.  That can be tweaked later once we have resolved the
web site issued.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170803163353.19558-5-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
bsd-user/main.c
include/qemu-common.h
linux-user/main.c
qemu-img.c
qemu-io.c
qemu-nbd.c
qga/main.c
vl.c