Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
Update help output in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed May 8, 2017
1 parent 605ccd8 commit 0c9c404
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ But feel free to [add a new one](#development)!
Create and deliver plots from your Prometheus metrics.

Save plot to file or send it right to a slack channel.
At least one of -slack or -file must be set.
One of -slack or -file must be set.


Flags:
Expand All @@ -37,14 +37,14 @@ But feel free to [add a new one](#development)!
Optional. Image format. For possible values see: https://godoc.org/github.com/gonum/plot/vg/draw#NewFormattedCanvas (default "png")
-query string
Required. PQL query.
-range duration
Required. Time to look back to. Format: 12h34m56s.
-range value
Required. Time to look back to. Format: 5d12h34m56s
-silent
Optional. Suppress all output.
-slack string
Slack API token (https://api.slack.com/docs/oauth-test-tokens). Set to post plot to Slack.
-time value
Required. Time for query (default is now). Format like the default format of the Unix date command. (default Fri Feb 10 14:39:36 CET 2017)
Time for query (default is now). Format like the default format of the Unix date command.
-title string
Optional. Title of graph. (default "Prometheus metrics")
-url string
Expand Down

0 comments on commit 0c9c404

Please sign in to comment.