From 4e5e70f7527eeb0728817097e867b37ea23bc0a9 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Fri, 13 May 2016 17:42:37 -0400 Subject: [PATCH] Fix documentation error and logging prefix for STDOUT --- README.md | 4 ++-- cmd/hoarder/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e0981dd..87ef1ab 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Uploads .torrent files from a local "blackhole" to a remote (SSH) rtorrent watch # Installation ## Manual 1. Install [Go](https://golang.org) for your Operating System -2. Run `$ go get -u github.com/tblyler/hoarder/cmd` +2. Run `$ go get -u github.com/tblyler/hoarder/cmd/hoarder` 3. If your `GOPATH` is in your `PATH`, run `$ hoarder -config $PATH_TO_HOARDER_CONF` # Configuration @@ -25,7 +25,7 @@ Ignore the keys that start with an underscore, they are comments. "rtorrent_password": "correct horse battery staple", "_ssh_username": "The ssh username to use for getting finished torrents from the remote host", - "ssh_username": "JohnDoe" + "ssh_username": "JohnDoe", "_SSH_AUTH_COMMENT": "You may choose to use an ssh key or ssh password. If both are supplied, the password will not be used.", diff --git a/cmd/hoarder/main.go b/cmd/hoarder/main.go index f2ce312..f79566a 100644 --- a/cmd/hoarder/main.go +++ b/cmd/hoarder/main.go @@ -14,7 +14,7 @@ func main() { configPath := flag.String("config", "", "path to the config file") flag.Parse() - logger := log.New(os.Stdout, "hoarder", log.LstdFlags) + logger := log.New(os.Stdout, "hoarder ", log.LstdFlags) if *configPath == "" { logger.Println("Missing config path")