Bug 459963 - alsactl does not recognize cmd line option -P
alsactl does not recognize cmd line option -P
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: alsa-utils (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Jaroslav Kysela
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-25 05:55 EDT by Milos Malik
Modified: 2008-09-25 08:01 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-25 08:01:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Full output of Options Comparator (997 bytes, text/plain)
2008-08-25 05:55 EDT, Milos Malik
no flags Details

  None (edit)
Description Milos Malik 2008-08-25 05:55:36 EDT
Created attachment 314920 [details]
Full output of Options Comparator

Description of problem:
/usr/sbin/alsactl claims in its help message that it recognizes command line option "-P", but the reality is different.

Version-Release number of selected component (if applicable):
alsa-utils-1.0.16-3.fc8

How reproducible:
Always

Steps to Reproduce:
$ /usr/sbin/alsactl -P
/usr/sbin/alsactl: invalid option -- P
Usage: alsactl <options> command

Available options:
  -h,--help        this help
  -f,--file #      configuration file (default /etc/alsa/asound.state or /etc/asound.names)
  -F,--force       try to restore the matching controls as much as possible
                   (default mode)
  -P,--pedantic    don't restore mismatching controls (old default)
  -d,--debug       debug mode
  -v,--version     print version of this program

Available commands:
  store   <card #> save current driver setup for one or each soundcards
                   to configuration file
  restore <card #> load current driver setup for one or each soundcards
                   from configuration file
  names   <card #> dump information about all the known present (sub-)devices
                   into configuration file (DEPRECATED) 

  
Actual results:
"invalid option" message and help message appear.

Expected results:
Behavior is the same as /usr/sbin/alsactl --pedantic

Additional info:
Comment 1 Jaroslav Kysela 2008-09-25 08:01:37 EDT
Fixed in rawhide.

Note You need to log in before you can comment on or make changes to this bug.