Bug 17679

Summary: wicontrol(8) should take multiple args on command line
Product: Base System Reporter: gshapiro+freebsd-bugs <gshapiro+freebsd-bugs>
Component: binAssignee: Bill Paul <wpaul>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   

Description gshapiro+freebsd-bugs 2000-03-30 07:00:01 UTC
wicontrol doesn't allow multiple changes in a single command.  For
example:

wicontrol -i wi0 -P 1 -S 200

will only enable power save (-P) and will silently ignore the sleep time
(-S) setting.

Fix: 

Remove the exit(0); statements in the switch section of main()
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-03-30 12:53:12 UTC
Responsible Changed
From-To: freebsd-bugs->wpaul

I'm going to hand this over to the maintainer for consideration, 
but I can already see problems.  At least -Z and -C may be 
mutually exclusive. 
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-07-31 08:29:25 UTC
State Changed
From-To: open->closed

In the long time since this PR was submitted, wicontrol has been obsoleted. 
Therefore, I am going to close this. 

Hat:		bugmeister