From 698781afec21431b60f5aa849046430cd8f96a73 Mon Sep 17 00:00:00 2001 From: Matej Kramny Date: Sun, 12 Feb 2017 19:50:03 -0800 Subject: [PATCH] update readme --- cli/main.go | 2 -- readme.md | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cli/main.go b/cli/main.go index 8d13975..5cb5a70 100644 --- a/cli/main.go +++ b/cli/main.go @@ -23,7 +23,6 @@ const usage = `cachet-monitor Usage: cachet-monitor (-c PATH | --config PATH) [--log=LOGPATH] [--name=NAME] [--immediate] cachet-monitor -h | --help | --version - cachet-monitor print-config Arguments: PATH path to config.json @@ -39,7 +38,6 @@ Options: -h --help Show this screen. --version Show version --immediate Tick immediately (by default waits for first defined interval) - print-config Print example configuration Environment varaibles: CACHET_API override API url from configuration diff --git a/readme.md b/readme.md index e59227c..78d5826 100644 --- a/readme.md +++ b/readme.md @@ -12,7 +12,7 @@ ## Example Configuration -**Note:** configuration can be in json or yaml format. See `example.config.*` files. +**Note:** configuration can be in json or yaml format. [`example.config.json`](https://github.com/CastawayLabs/cachet-monitor/blob/master/example.config.json), [`example.config.yaml`](https://github.com/CastawayLabs/cachet-monitor/blob/master/example.config.yml) files. ```yaml api: @@ -94,7 +94,6 @@ pro tip: run in background using `nohup cachet-monitor 2>&1 > /var/log/cachet-mo Usage: cachet-monitor (-c PATH | --config PATH) [--log=LOGPATH] [--name=NAME] [--immediate] cachet-monitor -h | --help | --version - cachet-monitor print-config Arguments: PATH path to config.json @@ -110,7 +109,6 @@ Options: -h --help Show this screen. --version Show version --immediate Tick immediately (by default waits for first defined interval) - print-config Print example configuration Environment varaibles: CACHET_API override API url from configuration @@ -120,7 +118,7 @@ Environment varaibles: ## Templates -This package makes use of [`text/template`](https://godoc.org/text/template). +This package makes use of [`text/template`](https://godoc.org/text/template). [Default HTTP template](https://github.com/CastawayLabs/cachet-monitor/blob/master/http.go#L14) The following variables are available: