From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 Description of problem: hdparm --help writes help text to stderr and then exits with a failure status. But the GNU standard is for the help text to go to stdout, and for the command to then exit with status zero. For example: % grep --help >/dev/null && echo yes % hdparm --help >/dev/null && echo yes Version-Release number of selected component (if applicable): hdparm-5.7-2 How reproducible: Always Steps to Reproduce: hdparm --help Actual Results: Usage text printed on stdout file descriptor and hdparm exits with nonzero status. Expected Results: Usage text goes to stdout and exit status is zero. Additional info:
hdparm prints the help text to stderr and exits with failure status if you omit a required parameter or use unsupported options such as --help. It prints to stdout and exits with status zero if you run it with the option -h to get help. I've added support for --help and have built a new package.