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'
This commit is contained in:
Denis Kenzior 2018-11-29 20:31:57 -06:00
parent 5b3ae4c40c
commit 5d1e24568f
3 changed files with 3 additions and 3 deletions

View File

@ -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[] = { 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, { "<wlan>", "start", "<\"network name\"> <passphrase>", cmd_start,
"Start or join an existing\n" "Start or join an existing\n"
"\t\t\t\t\t\t Ad-Hoc network called\n" "\t\t\t\t\t\t Ad-Hoc network called\n"

View File

@ -190,7 +190,7 @@ static enum cmd_status cmd_stop(const char *device_name, char **argv, int argc)
} }
static const struct command ap_commands[] = { 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, { "<wlan>", "start", "<\"network name\"> <passphrase>", cmd_start,
"Start an access point\n\t\t\t\t\t\t called \"network " "Start an access point\n\t\t\t\t\t\t called \"network "
"name\" with\n\t\t\t\t\t\t a passphrase" }, "name\" with\n\t\t\t\t\t\t a passphrase" },

View File

@ -579,7 +579,7 @@ static enum cmd_status cmd_scan(const char *device_name,
} }
static const struct command station_commands[] = { 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", { "<wlan>", "connect",
"<\"network name\"> [security]", "<\"network name\"> [security]",
cmd_connect, cmd_connect,