Skip to content

Commit

Permalink
fixed dump usage description
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadrad committed Aug 17, 2016
1 parent f9deddc commit e157171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packet/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e157171

Please sign in to comment.