Hide Forgot
cloning to track failure in our test for the appropriate RHEL version +++ This bug was initially created as a clone of Bug #1039975 +++ Description of problem: Trying to run mysql_config without parameters, it returns nonzero exit code. But this is not an error, the application should return zero. Version-Release number of selected component (if applicable): mariadb-5.5.33a-1.fc19 How reproducible: always Steps to Reproduce: 1. mysql_config >/dev/null; echo $? Actual results: 1 Expected results: 0 Additional info: from the manpage: "If you invoke mysql_config with no options, it displays a list of all options that it supports, and their values:" so, invoking without parameters is correct usage ... note also that it'd be nice to support the "--help" option, but that's more RFE material than a bug
just FTR, there are more binaries with similar problem: `mysql_waitpid --help` returns 255 despite "--help" is valid option `mysqladmin --help` returns 1 despite "--help" is valid option `myisam_ftdump --help` returns 1 despite "--help" is valid option `resolve_stack_dump --help` returns 1 despite "--help" is valid option (should I file it as a new bug?)