From: Ola Olsson Date: Mon, 12 Oct 2015 20:37:08 +0000 (+0200) Subject: iw: fix help text for event command X-Git-Tag: v4.7~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef65e9cc52623e8f9f02b782d30f69f256730d8c;p=thirdparty%2Fiw.git iw: fix help text for event command According to the source, the -t and -r options are mutually exclusive. Fix the help text accordingly. Signed-off-by: Ola Olsson Signed-off-by: Johannes Berg --- diff --git a/event.c b/event.c index 5d0bfde..a342dc4 100644 --- a/event.c +++ b/event.c @@ -775,7 +775,7 @@ static int print_events(struct nl80211_state *state, return __do_listen_events(state, 0, NULL, &args); } -TOPLEVEL(event, "[-t] [-r] [-f]", 0, 0, CIB_NONE, print_events, +TOPLEVEL(event, "[-t|-r] [-f]", 0, 0, CIB_NONE, print_events, "Monitor events from the kernel.\n" "-t - print timestamp\n" "-r - print relative timstamp\n"