mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
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:
parent
5b3ae4c40c
commit
5d1e24568f
@ -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"
|
||||
|
@ -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" },
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user