From c1028daa75a60d2ee50f4de906115c769a385e1e Mon Sep 17 00:00:00 2001 From: Joe Fitzgerald Date: Thu, 11 Jan 2024 15:12:51 -0700 Subject: [PATCH] update instructions and usage Signed-off-by: Joe Fitzgerald --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5898547..5d471d6 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,8 @@ $ go run github.com/maxbrunsfeld/counterfeiter/v6 USAGE counterfeiter - [-generate] [-o ] [-p] [--fake-name ] + [-generate>] [-o ] [-p] [--fake-name ] + [-header ] [] [-] ``` @@ -125,12 +126,13 @@ USAGE This is unnecessary if you're using the approach described above, but does allow you to invoke `counterfeiter` in your shell _outside_ of a module: ```shell -$ GO111MODULE=off go get -u github.com/maxbrunsfeld/counterfeiter -$ counterfeiter +$ go install github.com/maxbrunsfeld/counterfeiter/v6 +$ ~/go/bin/counterfeiter USAGE counterfeiter - [-generate] [-o ] [-p] [--fake-name ] + [-generate>] [-o ] [-p] [--fake-name ] + [-header ] [] [-] ```