diff mbox series

iw: ps: fix "get power_save" documentation

Message ID 20210701180945.45abdb0d4f52.Ifdc6ce8fdbf252019c080f609b6d95cec23d84ee@changeid (mailing list archive)
State Accepted
Delegated to: Johannes Berg
Headers show
Series iw: ps: fix "get power_save" documentation | expand

Commit Message

Johannes Berg July 1, 2021, 4:09 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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.");