That used to be the behavior, so the documentation is out of date.

Indeed and I've just fixed that error [1].

If you see any other issues in the docs, please feel free to correct them: you can simply edit the wik[2]i and the change will propagate to the website automatically.

Thomas

[1] https://github.com/ocaml/opam/wiki/Basic_Usage
[2] https://github.com/ocaml/opam/wiki