From c7edb34eb91dff4fb67d09129eb5ab9e6eef9f10 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 31 Oct 2018 13:48:35 +0100 Subject: [PATCH] cli: add --rescan option to help output --- clients/cli/devices.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/clients/cli/devices.c b/clients/cli/devices.c index 88fbae33f3..8e26a14450 100644 --- a/clients/cli/devices.c +++ b/clients/cli/devices.c @@ -703,7 +703,7 @@ usage (void) " disconnect ...\n\n" " delete ...\n\n" " monitor ...\n\n" - " wifi [list [ifname ] [bssid ]]\n\n" + " wifi [list [ifname ] [bssid ] [--rescan yes|no|auto]]\n\n" " wifi connect <(B)SSID> [password ] [wep-key-type key|phrase] [ifname ]\n" " [bssid ] [name ] [private yes|no] [hidden yes|no]\n\n" " wifi hotspot [ifname ] [con-name ] [ssid ] [band a|bg] [channel ] [password ]\n\n" @@ -838,10 +838,11 @@ usage_device_wifi (void) "\n" "Perform operation on Wi-Fi devices.\n" "\n" - "ARGUMENTS := [list [ifname ] [bssid ]]\n" + "ARGUMENTS := [list [ifname ] [bssid ] [--rescan yes|no|auto]]\n" "\n" "List available Wi-Fi access points. The 'ifname' and 'bssid' options can be\n" - "used to list APs for a particular interface, or with a specific BSSID.\n" + "used to list APs for a particular interface, or with a specific BSSID. The" + "--rescan flags tells whether a new wifi scan should be triggered.\n" "\n" "ARGUMENTS := connect <(B)SSID> [password ] [wep-key-type key|phrase] [ifname ]\n" " [bssid ] [name ] [private yes|no] [hidden yes|no]\n"