]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
fix connect help
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 6 Jul 2009 10:51:11 +0000 (12:51 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Mon, 6 Jul 2009 10:51:11 +0000 (12:51 +0200)
connect.c

index 9532e58e9ff5e88dbca3109f649857baa8ecc58d..1fb2892c387f618923151e86badb17891a42d0ad 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -63,6 +63,6 @@ static int disconnect(struct nl80211_state *state,
 TOPLEVEL(disconnect, NULL,
        NL80211_CMD_DISCONNECT, 0, CIB_NETDEV, disconnect,
        "Disconnect from the current network.");
-TOPLEVEL(connect, "<SSID> <freq in MHz> [<bssid>]",
+TOPLEVEL(connect, "<SSID> [<freq in MHz>] [<bssid>]",
        NL80211_CMD_CONNECT, 0, CIB_NETDEV, iw_connect,
        "Join the network with the given SSID (and frequency, BSSID).");