Skip to content

Commit

Permalink
Cleanup get help output, rename end flag to stop
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrock committed Jun 30, 2018
1 parent 7ab2b3c commit 333771c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ func init() {
&getConfig.Start,
"start",
"",
"start getting the logs from this point. Takes an absolute timestamp in RFC3339 format, or a relative time (eg. -2h). Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".",
`start getting the logs from this point
Takes an absolute timestamp in RFC3339 format, or a relative time (eg. -2h).
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`,
)
GetCommand.Flags().StringVar(
&getConfig.End,
"end",
"stop",
"now",
"stop getting the logs at this point. Takes an absolute timestamp in RFC3339 format, or a relative time (eg. -2h). Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".",
`stop getting the logs at this point
Takes an absolute timestamp in RFC3339 format, or a relative time (eg. -2h).
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`,
)
}

0 comments on commit 333771c

Please sign in to comment.