From e1571716b81a7ac05f2d2d1054cba76273cfee8f Mon Sep 17 00:00:00 2001 From: Mehrdad Arshad Rad Date: Tue, 16 Aug 2016 20:18:21 -0700 Subject: [PATCH] fixed dump usage description --- packet/packet.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packet/packet.go b/packet/packet.go index a47ca0a3..43437b55 100644 --- a/packet/packet.go +++ b/packet/packet.go @@ -457,7 +457,8 @@ func printDev() { func help() { fmt.Println(` usage: - dump [-c count][-i interface][-w filename][-s keyword][-d][-x][-t][-nc] + dump [filter expression] [options] + * The expression consists of one or more primitives (Berkeley Packet Filter (BPF) syntax) options: -c count Stop after receiving count packets (default: 1M) -i interface Listen on specified interface (default: first non-loopback)