Red Hat Bugzilla – Bug 433779
sg_get_config - unrecognised option code 0x31
Last modified: 2009-09-02 07:23:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:184.108.40.206) Gecko/20080208 Fedora/220.127.116.11-1.fc8 Firefox/18.104.22.168
Description of problem:
Command line parameters "-b" and "--brief" are equivalent according to sg_get_config man page, but sg_get_config produces different outputs when executed on the same machine under the same user with the same device.
Please compare outputs of these commands:
sg_get_config -b /dev/sda
sg_get_config --brief /dev/sda
Assumption: error in getopt_long() usage or in the array which is used by getopt_long()
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. sg_get_config --brief /dev/sda
2. look at first line of the output
unrecognised option code 0x31 ??
Usage message follows...
No message about unrecognized option. No usage message.
Should be easy to fix, granting Devel ACK for RHEL-5.3.
Read ya, Phil
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.