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

Commit

Permalink
Small fix in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed May 20, 2017
1 parent 10a4353 commit da9a098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const step = 100
func main() {
var (
silent = flag.Bool("silent", false, "Optional. Suppress all output.")
versionFlag = flag.Bool("version", false, "Optional. Print binary version.")
versionFlag = flag.Bool("version", false, "Print binary version.")
promURL = flag.String("url", "", "Required. URL of Prometheus server.")
query = flag.String("query", "", "Required. PQL query.")
queryTime = flags.UnixTime("time", time.Now(), "Time for query (default is now). Format like the default format of the Unix date command.")
Expand Down
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ But feel free to [add a new one](#development)!
-url string
Required. URL of Prometheus server.
-version
Optional. Print binary version.
Print binary version.


## Install
Expand Down Expand Up @@ -84,7 +84,6 @@ promplot $common \
promplot $common \
-title "Free disk space in GB" \
-query "node_filesystem_free /1024 /1024 /1024"
-range "24h"

promplot $common \
-title "Open file descriptors" \
Expand Down

0 comments on commit da9a098

Please sign in to comment.