]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: fix help text for event command
authorOla Olsson <ola1olsson@gmail.com>
Mon, 12 Oct 2015 20:37:08 +0000 (22:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Oct 2015 09:04:05 +0000 (11:04 +0200)
According to the source, the -t and -r options are
mutually exclusive. Fix the help text accordingly.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
event.c

diff --git a/event.c b/event.c
index 5d0bfde0e50f2c1b3aff3e923fbd9cd5f092ebf1..a342dc46bcc9d2574ed46bb58ad5d9d81d2262e6 100644 (file)
--- 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"