ongrep

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

commit c28f7e5e098833f464e3d8de7dbddd3183fdd469
parent d7fb92eec8c7c9dbb9d89adb863d96c6c79dc6c7
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Sun, 20 Feb 2005 05:52:42 +0000

make showing ``-L'' in help/usage win32-specific

Diffstat:
Mngrep.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ngrep.c b/ngrep.c @@ -1147,7 +1147,11 @@ void drop_privs(void) { #endif void usage(int e) { - printf("usage: ngrep <-LhXViwqpevxlDtTRM> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n" + printf("usage: ngrep <-" +#if defined(_WIN32) + "L" +#endif + "hXViwqpevxlDtTRM> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n" " <-s snaplen> <-S limitlen> <-W normal|byline|none> <-c cols>\n" " <-P char> <-F file> <match expression> <bpf filter>\n" " -h is help/usage\n"