commit 5d1e24568fac2ef166e9816cd52c351422579bcc
parent 5b3ae4c40c8510d0c1f06ca67bcdc63deab483db
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 29 Nov 2018 20:31:57 -0600
client: Reword station/ap/adhoc list command help
This also fixes a typo in station list help that refers to Station
devices as 'Ad-Hoc'
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/client/ad-hoc.c b/client/ad-hoc.c
@@ -213,7 +213,7 @@ static enum cmd_status cmd_stop(const char *device_name, char **argv, int argc)
}
static const struct command ad_hoc_commands[] = {
- { NULL, "list", NULL, cmd_list, "List Ad-Hoc devices", true },
+ { NULL, "list", NULL, cmd_list, "List devices in Ad-hoc mode", true },
{ "<wlan>", "start", "<\"network name\"> <passphrase>", cmd_start,
"Start or join an existing\n"
"\t\t\t\t\t\t Ad-Hoc network called\n"
diff --git a/client/ap.c b/client/ap.c
@@ -190,7 +190,7 @@ static enum cmd_status cmd_stop(const char *device_name, char **argv, int argc)
}
static const struct command ap_commands[] = {
- { NULL, "list", NULL, cmd_list, "List access point devices", true },
+ { NULL, "list", NULL, cmd_list, "List devices in AP mode", true },
{ "<wlan>", "start", "<\"network name\"> <passphrase>", cmd_start,
"Start an access point\n\t\t\t\t\t\t called \"network "
"name\" with\n\t\t\t\t\t\t a passphrase" },
diff --git a/client/station.c b/client/station.c
@@ -579,7 +579,7 @@ static enum cmd_status cmd_scan(const char *device_name,
}
static const struct command station_commands[] = {
- { NULL, "list", NULL, cmd_list, "List Ad-Hoc devices", true },
+ { NULL, "list", NULL, cmd_list, "List devices in Station mode", true },
{ "<wlan>", "connect",
"<\"network name\"> [security]",
cmd_connect,