Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 9b3721f

Browse files
authored
Merge pull request #1606 from terminatingcode/prune-cmd-docs-link
Amend prune command line message to include doc link
2 parents 0d708ff + 85ac26e commit 9b3721f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/dep/prune.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ func (cmd *pruneCommand) Register(fs *flag.FlagSet) {
4242

4343
func (cmd *pruneCommand) Run(ctx *dep.Ctx, args []string) error {
4444
ctx.Err.Printf("Pruning is now performed automatically by dep ensure.\n")
45-
ctx.Err.Printf("Set prune settings in %s and it it will be applied when running ensure.\n", dep.ManifestName)
45+
ctx.Err.Printf("Set prune settings in %s and it will be applied when running ensure.\n", dep.ManifestName)
4646
ctx.Err.Printf("\nThis command currently still prunes as it always has, to ease the transition.\n")
4747
ctx.Err.Printf("However, it will be removed in a future version of dep.\n")
4848
ctx.Err.Printf("\nNow is the time to update your Gopkg.toml and remove `dep prune` from any scripts.\n")
49+
ctx.Err.Printf("\nFor more information, see: https://golang.github.io/dep/docs/Gopkg.toml.html#prune\n")
4950

5051
p, err := ctx.LoadProject()
5152
if err != nil {

0 commit comments

Comments
 (0)