2021-07-01 16:13:20

by Johannes Berg

[permalink] [raw]
Subject: [PATCH] iw: ps: fix "get power_save" documentation

From: Johannes Berg <[email protected]>

This doesn't take any arguments, remove the "<param>"
string from the help.

Signed-off-by: Johannes Berg <[email protected]>
---
ps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ps.c b/ps.c
index de36d2b4b4a8..124bf75ccc1d 100644
--- 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.");
--
2.31.1