@@ -215,14 +215,11 @@ 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 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"
- "\t\t\t\t\t\t \"network name\" with a\n"
- "\t\t\t\t\t\t passphrase" },
+ "Start or join an existing Ad-Hoc network called "
+ "\"network name\" with a passphrase" },
{ "<wlan>", "start_open", "<\"network name\">", cmd_start_open,
- "Start or join an existing\n"
- "\t\t\t\t\t\t open Ad-Hoc network called\n"
- "\t\t\t\t\t\t \"network name\"" },
+ "Start or join an existing open Ad-Hoc network called"
+ " \"network name\"" },
{ "<wlan>", "stop", NULL, cmd_stop, "Leave an Ad-Hoc network" },
{ }
};
@@ -416,12 +416,11 @@ static enum cmd_status cmd_get_networks(const char *device_name, char **argv,
static const struct command ap_commands[] = {
{ 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" },
+ "Start an access point called \"network "
+ "name\" with a passphrase" },
{ "<wlan>", "start-profile", "<\"network name\">", cmd_start_profile,
"Start an access point based on a disk profile" },
- { "<wlan>", "stop", NULL, cmd_stop, "Stop a started access\n"
- "\t\t\t\t\t\t point" },
+ { "<wlan>", "stop", NULL, cmd_stop, "Stop a started access point" },
{ "<wlan>", "show", NULL, cmd_show, "Show AP info", false },
{ "<wlan>", "scan", NULL, cmd_scan, "Start an AP scan", false },
{ "<wlan>", "get-networks", NULL, cmd_get_networks,
@@ -182,10 +182,10 @@ static enum cmd_status cmd_cancel(const char *device_name,
static const struct command wsc_commands[] = {
{ NULL, "list", NULL, cmd_list, "List WSC-capable devices", true },
{ "<wlan>", "push-button", NULL, cmd_push_button, "PushButton mode" },
- { "<wlan>", "start-user-pin", "<8 digit PIN>", cmd_start_user_pin,
+ { "<wlan>", "start-user-pin", "<PIN>", cmd_start_user_pin,
"PIN mode" },
{ "<wlan>", "start-pin", NULL, cmd_start_pin,
- "PIN mode with generated\n\t\t\t\t\t\t 8 digit PIN" },
+ "PIN mode with generated 8 digit PIN" },
{ "<wlan>", "cancel", NULL, cmd_cancel, "Aborts WSC operations" },
{ }
};