Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 1253 to the 1.3 branch #2480

Merged
merged 2 commits into from
Sep 8, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
packetbeat: add desctiption to -I option
the usage of '-I' option is not clear. Provide a meaningful
description, which will be shown with '-h'.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
kofemann authored and Tudor Golubenco committed Sep 7, 2016

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit bdc8d6a615f8bea494e20abfb81690f2cb5ca922
2 changes: 1 addition & 1 deletion packetbeat/beat/packetbeat.go
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ const (

func init() {
cmdLineArgs = CmdLineArgs{
File: flag.String("I", "", "file"),
File: flag.String("I", "", "Read packet data from specified file"),
Loop: flag.Int("l", 1, "Loop file. 0 - loop forever"),
OneAtAtime: flag.Bool("O", false, "Read packets one at a time (press Enter)"),
TopSpeed: flag.Bool("t", false, "Read packets as fast as possible, without sleeping"),