From 0c9c4040ac6f939b0c5bef7b04961861275726fc Mon Sep 17 00:00:00 2001 From: Jorin Vogel Date: Mon, 8 May 2017 10:49:09 +0200 Subject: [PATCH] Update help output in readme. --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index bb537fe..01c30e1 100644 --- a/readme.md +++ b/readme.md @@ -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: @@ -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