DORMANTno replies

[PATCH] iw: ps: fix "get power_save" documentation

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2021-07-01 16:10:01
Subsystem: the rest · Maintainer: Linus Torvalds

From: Johannes Berg <redacted>

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

Signed-off-by: Johannes Berg <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help