From nobody@FreeBSD.org  Wed Mar 29 21:53:46 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3FC1137B711
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Mar 2000 21:53:46 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id VAA61153;
	Wed, 29 Mar 2000 21:53:45 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003300553.VAA61153@freefall.freebsd.org>
Date: Wed, 29 Mar 2000 21:53:45 -0800 (PST)
From: gshapiro+freebsd-bugs@gshapiro.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: wicontrol should take multiple args on command line
X-Send-Pr-Version: www-1.0

>Number:         17679
>Category:       bin
>Synopsis:       wicontrol(8) should take multiple args on command line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wpaul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 29 22:00:01 PST 2000
>Closed-Date:    Tue Jul 31 07:30:20 GMT 2007
>Last-Modified:  Tue Jul 31 07:30:20 GMT 2007
>Originator:     Gregory Neil Shapiro
>Release:        3.4-STABLE
>Organization:
>Environment:
FreeBSD monkeyboy.gshapiro.net 3.4-STABLE FreeBSD 3.4-STABLE #0: Tue Mar 21 22:25:47 PST 2000     root@monkeyboy.gshapiro.net:/usr/src/sys/compile/MONKEYBOY  i386
>Description:
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.
>How-To-Repeat:

>Fix:
Remove the exit(0); statements in the switch section of main()

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Mar 30 03:53:12 PST 2000 
Responsible-Changed-Why:  
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. 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 31 07:29:25 UTC 2007 
State-Changed-Why:  
In the long time since this PR was submitted, wicontrol has been obsoleted. 
Therefore, I am going to close this. 

Hat:		bugmeister 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17679 
>Unformatted:
