From nobody@FreeBSD.org  Tue Sep 18 20:53:25 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 311101065670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2012 20:53:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 041CC8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2012 20:53:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8IKrOjw087670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2012 20:53:24 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8IKrOrh087669;
	Tue, 18 Sep 2012 20:53:24 GMT
	(envelope-from nobody)
Message-Id: <201209182053.q8IKrOrh087669@red.freebsd.org>
Date: Tue, 18 Sep 2012 20:53:24 GMT
From: Yuri <yuri@rawbw.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wpa_supplicant(8) man page update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171755
>Category:       docs
>Synopsis:       wpa_supplicant(8) man page update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    issyl0
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 21:00:14 UTC 2012
>Closed-Date:    Sun Dec 02 12:38:02 UTC 2012
>Last-Modified:  Sun Dec 02 12:38:02 UTC 2012
>Originator:     Yuri
>Release:        9.1-PRERELEASE
>Organization:
n/a
>Environment:
>Description:
wpa_supplicant(8) man page wasn't in sync with actual code for wpa_supplicant(8).
-e and -w options described there aren't used at all, and the number of other options weren't in the man page.

Descriptions I added are from usage() in main.c.
Please elaborate on them more in the man page if you are more familiar with them.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8.orig	2012-09-18 13:05:26.000000000 -0700
+++ usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8	2012-09-18 13:46:39.000000000 -0700
@@ -87,40 +87,52 @@
 .Sh OPTIONS
 The following options are available:
 .Bl -tag -width indent
+.It Fl b
+Optional bridge interface name.
+.It Fl B
+Detach from the controlling terminal and run as a daemon process
+in the background.
 .It Fl d
 Enable debugging messages.
 If this option is supplied twice, more verbose messages are displayed.
-.It Fl e
-Use an external IEEE 802.1X Supplicant program and disable the
-internal Supplicant.
-This option is not normally used.
+.It Fl D
+Driver name (can be multiple drivers: nl80211,wext).
+.It Fl f
+Log output to debug file instead of stdout.
+.It Fl g
+Global ctrl_interface.
 .It Fl h
 Show help text.
+.It Fl K
+Include key information in debugging output.
+.It Fl L
+Display the license for this program on the terminal and exit.
+.It Fl N
+Start describing new interface.
+.It Fl o
+Overrides driver parameter for new interfaces.
+.It Fl O
+Override ctrl_interface parameter for new interfaces.
+.It Fl p
+Specify driver parameters.
+.It Fl P
+PID file name where the process PID is saved.
 .It Fl q
 Decrease debugging verbosity (i.e., counteract the use of the
 .Fl d
 flag).
+.It Fl u
+Enable DBus control interface.
 .It Fl s
 Send log messages through
 .Xr syslog 3
 instead of to the terminal.
+.It Fl t
+Include timestamp in debug messages.
 .It Fl v
 Display version information on the terminal and exit.
-.It Fl w
-If the specified interface is not present, wait for it to be
-added; e.g.\& a cardbus device to be inserted.
-This option is not normally used; instead,
-.Xr devd 8
-should be configured to launch
-.Nm
-when a device is created.
-.It Fl B
-Detach from the controlling terminal and run as a daemon process
-in the background.
-.It Fl K
-Include key information in debugging output.
-.It Fl L
-Display the license for this program on the terminal and exit.
+.It Fl W
+Wait for a control interface monitor before starting.
 .El
 .Sh SEE ALSO
 .Xr an 4 ,


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->issyl0 
Responsible-Changed-By: issyl0 
Responsible-Changed-When: Sat Sep 22 10:09:56 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171755 
State-Changed-From-To: open->patched 
State-Changed-By: issyl0 
State-Changed-When: Wed Nov 7 15:54:37 UTC 2012 
State-Changed-Why:  
Committed to HEAD (r242696); awaiting MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171755 
State-Changed-From-To: patched->closed 
State-Changed-By: issyl0 
State-Changed-When: Sun Dec 2 12:38:01 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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