diff --git a/usr.sbin/wlanstats/main.c b/usr.sbin/wlanstats/main.c --- a/usr.sbin/wlanstats/main.c +++ b/usr.sbin/wlanstats/main.c @@ -158,7 +158,7 @@ usage(void) { - printf("wlanstats: [-ah] [-i ifname] [-l] [-m station MAC address] [-o fmt] [interval]\n"); + printf("wlanstats: [-h] [-i ifname] [-l] [-m station_MAC_address] [-o fmt] [interval]\n"); } int diff --git a/usr.sbin/wlanstats/wlanstats.8 b/usr.sbin/wlanstats/wlanstats.8 --- a/usr.sbin/wlanstats/wlanstats.8 +++ b/usr.sbin/wlanstats/wlanstats.8 @@ -6,7 +6,7 @@ .\" .\" SPDX-License-Identifier: BSD-2-Clause .\" -.Dd February 20, 2025 +.Dd March 14, 2025 .Dt WLANSTATS 8 .Os .Sh NAME @@ -14,11 +14,10 @@ .Nd query 802.11 wireless network statistics .Sh SYNOPSIS .Nm -.\" .Op Fl a .Op Fl h .Op Fl i Ar ifnet .Op Fl l -.Op Fl m Ar station MAC address +.Op Fl m Ar station_MAC_address .Op Fl o Ar fmt .Op interval .Sh DESCRIPTION @@ -44,19 +43,19 @@ instead of the default .Em wlan0 . .It Fl l -List all fields names and their descriptions. -.It Fl m Ar station MAC address +List all field names and their descriptions. +.It Fl m Ar station_MAC_address Request information for the station specified by the given -.Ar MAC address. +.Ar MAC_address . .It Fl o Ar fmt Set format of fields to query. -This can be either on of the pre-defined tags: +This can be either a pre-defined tag (one of .Em default , -.Em ampdu , or -.Em amsdu +.Em ampdu , +or +.Em amsdu ) , or a comma separated list of field names without space. .El -.Pp .Sh SEE ALSO .Xr ifconfig 8 , .Xr wlandebug 8