Skip to content

Commit

Permalink
docs: update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed May 13, 2022
1 parent 2696a44 commit 784cabb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Usage:
Examples:
Typical usage will pipe the output of 'go list -json -deps' to 'nancy':
go list -json -deps | nancy sleuth [flags]
go list -json -deps | nancy iq [flags]
go list -deps -f '{{with .Module}}{{.Path}} {{.Version}}{{end}}' ./... | nancy sleuth [flags]
go list -deps -f '{{with .Module}}{{.Path}} {{.Version}}{{end}}' ./... | nancy iq [flags]
If using dep typical usage is as follows :
nancy sleuth -p Gopkg.lock [flags]
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ var rootCmd = &cobra.Command{
Version: buildversion.BuildVersion,
Use: "nancy",
Example: ` Typical usage will pipe the output of 'go list -json -deps' to 'nancy':
go list -json -deps | nancy sleuth [flags]
go list -json -deps | nancy iq [flags]
go list -deps -f '{{with .Module}}{{.Path}} {{.Version}}{{end}}' ./... | nancy sleuth [flags]
go list -deps -f '{{with .Module}}{{.Path}} {{.Version}}{{end}}' ./... | nancy iq [flags]
If using dep typical usage is as follows :
nancy sleuth -p Gopkg.lock [flags]
Expand Down

0 comments on commit 784cabb

Please sign in to comment.