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

Commit 8ab8cf5

Browse files
committed
Update init help text.
1 parent 0a0f777 commit 8ab8cf5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

cmd/dep/init.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@ import (
2121

2222
const initShortHelp = `Initialize a new project with manifest and lock files`
2323
const initLongHelp = `
24-
Initialize the project at filepath root by parsing its dependencies and writing
25-
manifest and lock files. If root isn't specified, use the current directory.
24+
Initialize the project at filepath root by parsing its dependencies, writing
25+
manifest and lock files, and vendoring the dependencies. If root isn't
26+
specified, use the current directory.
2627
2728
The version of each dependency will reflect the current state of the GOPATH. If
28-
a dependency doesn't exist in the GOPATH, it won't be written to the manifest,
29-
but it will be solved-for, and will appear in the lock.
30-
31-
Note: init may use the network to solve the dependency graph.
32-
33-
Note: init does NOT vendor dependencies at the moment. See dep ensure.
29+
a dependency doesn't exist in the GOPATH, the network would be used to
30+
solve-for, and the solution will appear in manifest and lock. Solved
31+
dependencies will be vendored in vendor/ dir relative to project root.
3432
`
3533

3634
func (cmd *initCommand) Name() string { return "init" }

0 commit comments

Comments
 (0)