From: Gokul Sivakumar <gokulkumar792@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Gokul Sivakumar <gokulkumar792@gmail.com>,
linux-wireless@vger.kernel.org
Subject: [PATCH iw 3/4] iw: event: add the missing time display format in the "iw event" help menu
Date: Fri, 10 Sep 2021 19:46:17 +0530 [thread overview]
Message-ID: <20210910141618.1594617-3-gokulkumar792@gmail.com> (raw)
In-Reply-To: <20210910141618.1594617-1-gokulkumar792@gmail.com>
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 <gokulkumar792@gmail.com>
---
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
next prev parent reply other threads:[~2021-09-10 14:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 14:16 [PATCH iw 1/4] iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions Gokul Sivakumar
2021-09-10 14:16 ` [PATCH iw 2/4] iw: link: mention the need for MAC addr arg in link get_sta cmd usage menu Gokul Sivakumar
2021-09-10 14:16 ` Gokul Sivakumar [this message]
2021-09-10 14:16 ` [PATCH iw 4/4] iw: mesh: add comments in the mesh confguration parameter printing sections Gokul Sivakumar
2021-09-23 11:36 ` [PATCH iw 1/4] iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions Johannes Berg
2021-09-23 15:53 ` Gokul Sivakumar
2021-09-23 15:56 ` Johannes Berg
2021-09-23 16:23 ` Gokul Sivakumar
2021-09-23 16:25 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210910141618.1594617-3-gokulkumar792@gmail.com \
--to=gokulkumar792@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.