From 4e4887fdbe033cf31264d8a5acf5688def838f67 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Sun, 15 Sep 2019 22:10:42 +0200 Subject: [PATCH] Show the exact `gofmt` command in README This was another pitfall for me as a new contributor: I just typed in `gofmt -s` and thought the command would hang.. After searching on the internet I found out it's waiting on standard input. So, just improper use of the command. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index daf8e6d..cc0971b 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ $ go get -u github.com/tcnksm/ghr 3. Commit your changes 4. Rebase your local changes against the master branch 5. Run test suite with the `make test` command and confirm that it passes -6. Run `gofmt -s` +6. Run `gofmt -s -w .` 7. Create new Pull Request ## Author