]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: ps: fix "get power_save" documentation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 1 Jul 2021 16:09:45 +0000 (18:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jul 2021 08:30:41 +0000 (10:30 +0200)
This doesn't take any arguments, remove the "<param>"
string from the help.

Link: https://lore.kernel.org/r/20210701180945.45abdb0d4f52.Ifdc6ce8fdbf252019c080f609b6d95cec23d84ee@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
ps.c

diff --git a/ps.c b/ps.c
index de36d2b4b4a89d4291b80ec86707859daeaefa9b..124bf75ccc1dde26e4c4a9fedd3ac2897c9afaf6 100644 (file)
--- a/ps.c
+++ b/ps.c
@@ -75,6 +75,6 @@ static int get_power_save(struct nl80211_state *state,
        return 0;
 }
 
-COMMAND(get, power_save, "<param>",
+COMMAND(get, power_save, "",
        NL80211_CMD_GET_POWER_SAVE, 0, CIB_NETDEV, get_power_save,
        "Retrieve power save state.");