]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
help for 'set name'
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 13:05:10 +0000 (15:05 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 13:05:10 +0000 (15:05 +0200)
phy.c

diff --git a/phy.c b/phy.c
index 0f5d05f0f4a9379c9822c842c8bf9072e8f6c50d..1c0938a60dc23384d79dc9dce1efff8b1dc09a24 100644 (file)
--- a/phy.c
+++ b/phy.c
@@ -25,7 +25,8 @@ static int handle_name(struct nl80211_state *state,
  nla_put_failure:
        return -ENOBUFS;
 }
-COMMAND(set, name, "<new name>", NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_name, NULL);
+COMMAND(set, name, "<new name>", NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_name,
+       "Rename this wireless device.");
 
 static int handle_freqchan(struct nl_msg *msg, bool chan,
                           int argc, char **argv)