From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5)
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):
Steps to Reproduce:
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.
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.