commit a8354bb4ec32f48944180fc44b9940eeef37e061
parent 7bc64370a317c2b0d03ec12d5ac3ce80a203dad3
Author: Jordan Ritter <jpr5@darkridge.com>
Date: Sun, 10 Aug 2003 04:14:52 +0000
update usage()
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ngrep.c b/ngrep.c
@@ -856,7 +856,9 @@ void drop_privs(void) {
void usage(int e) {
printf("usage: ngrep <-hXViwqpevxlDtT> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n"
- " <-s snaplen> <match expression> <bpf filter>\n");
+ " <-s snaplen> <-S limitlen> <match expression>\n"
+ " <bpf filter>\n");
+
exit(e);
}