]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
add help for info/list/phy commands
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 12:56:21 +0000 (14:56 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 12:56:21 +0000 (14:56 +0200)
info.c

diff --git a/info.c b/info.c
index 78f73d544676b223125dc039649fc3242e1d02e3..98c86eae4e463702bcac0be500e0e0338cc69f7a 100644 (file)
--- a/info.c
+++ b/info.c
@@ -266,6 +266,8 @@ static int handle_info(struct nl80211_state *state,
 
        return 0;
 }
-TOPLEVEL(info, NULL, NL80211_CMD_GET_WIPHY, 0, CIB_PHY, handle_info, NULL);
-TOPLEVEL(list, NULL, NL80211_CMD_GET_WIPHY, NLM_F_DUMP, CIB_NONE, handle_info, NULL);
+TOPLEVEL(info, NULL, NL80211_CMD_GET_WIPHY, 0, CIB_PHY, handle_info,
+        "Show capabilities for the specified wireless device.");
+TOPLEVEL(list, NULL, NL80211_CMD_GET_WIPHY, NLM_F_DUMP, CIB_NONE, handle_info,
+        "List all wireless devices and their capabilities.");
 TOPLEVEL(phy, NULL, NL80211_CMD_GET_WIPHY, NLM_F_DUMP, CIB_NONE, handle_info, NULL);