ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit fbb4449baa0025992ba891e0df87a2473a84a6f5
parent 704531208b696ddf754fb702eacaba70227b0aed
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Wed,  6 Jun 2001 22:07:45 +0000

specified -s wrong in the usage; should show a required argument

Diffstat:
Mngrep.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ngrep.c b/ngrep.c @@ -802,8 +802,8 @@ void update_windowsize(int e) { void usage(int e) { - printf("usage: ngrep <-hXViwqpevxlDtTs> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n" - " <match expression> <bpf filter>\n"); + printf("usage: ngrep <-hXViwqpevxlDtT> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n" + " <-s snaplen> <match expression> <bpf filter>\n"); exit(e); }