Skip to content

Commit

Permalink
Update pin doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Jun 15, 2018
1 parent 30ec26c commit a714050
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/pages/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ pinning a package, the source is searched for metadata in an `opam` or
directory. You can also replace that file by a directory containing an `opam`
file and optionally other metadata, like a `files/` subdirectory.

As the `package` argument is optional, `opam` guesses package name from the
`<URL>` or the `opam` file found. Note that for local VCS pinning, when given
without package name, `opam` retrieves the locally found `opam` file, even if not
versioned. If this file is versioned, `opam` relies on the versioned
version.

Whenever an install, reinstall or upgrade command-line refers to a pinned
package, <span class="opam">opam</span> first fetches its latest source. `opam
update [--development]` is otherwise the standard way to update the sources of
Expand Down

0 comments on commit a714050

Please sign in to comment.