Bug 459963 - alsactl does not recognize cmd line option -P
Summary: alsactl does not recognize cmd line option -P
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-utils
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-25 09:55 UTC by Milos Malik
Modified: 2008-09-25 12:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-25 12:01:37 UTC
Type: ---
Embargoed:


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

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.


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