diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-04 07:14:49 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-23 10:15:55 +0200 |
commit | 3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a (patch) | |
tree | b213e0c7ff78f7db6f9116c00d3a9c3cd417daf2 /.gitignore | |
parent | d072ac243407df464d0e0c74268631e39c5f1251 (diff) | |
download | passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar.gz passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar.bz2 passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar.lz passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar.xz passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.tar.zst passt-3c6d1b9bb2dd226d0ce91bd4cd6ae7eca15e387a.zip |
conf, log: On -h / --help, print usage to stdout, not stderr
Erik suggests that this makes it easier to grep for options, and with
--help we're anyway printing usage information as expected, not as
part of an error report.
While at it: on -h, we should exit with 0.
Reported-by: Erik Sjölund <erik.sjolund@gmail.com>
Link: https://bugs.passt.top/show_bug.cgi?id=52
Link: https://bugs.passt.top/show_bug.cgi?id=53
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions