Bug 459963

Summary: alsactl does not recognize cmd line option -P
Product: [Fedora] Fedora Reporter: Milos Malik <mmalik>
Component: alsa-utilsAssignee: Jaroslav Kysela <jkysela>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-25 12:01:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Full output of Options Comparator none

Description Milos Malik 2008-08-25 09:55:36 UTC
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 12:01:37 UTC
Fixed in rawhide.