The option used to print the events with timestamp in Human readable format
is not listed in the "$ iw event -h" output.
$ ./iw event -h
Usage: ./iw [options] event [-t|-r] [-f] [-n]
...
So add "-T" option to the help menu.
$ ./iw event -h
Usage: ./iw [options] event [-t|-T|-r] [-f] [-n]
...
Signed-off-by: Gokul Sivakumar <redacted>
---
event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/event.c b/event.c
index 14f101b..e0908dd 100644
--- a/event.c
+++ b/event.c
@@ -1457,7 +1457,7 @@ static int print_events(struct nl80211_state *state,
return __do_listen_events(state, 0, NULL, 0, NULL, &args);
}
-TOPLEVEL(event, "[-t|-r] [-f]", 0, 0, CIB_NONE, print_events,
+TOPLEVEL(event, "[-t|-T|-r] [-f]", 0, 0, CIB_NONE, print_events,
"Monitor events from the kernel.\n"
"-t - print timestamp\n"
"-T - print absolute, human-readable timestamp\n"
--
2.25.1