From: Johannes Berg Date: Tue, 5 May 2009 12:56:21 +0000 (+0200) Subject: add help for info/list/phy commands X-Git-Tag: v0.9.14~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea35fc0b841466473cab58317ecef20742351c45;p=thirdparty%2Fiw.git add help for info/list/phy commands --- diff --git a/info.c b/info.c index 78f73d5..98c86ea 100644 --- 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);