Skip to content

Commit

Permalink
Doc: point users to ways to override the default opam root location i…
Browse files Browse the repository at this point in the history
…n the opam init manpage
  • Loading branch information
kit-ty-kate committed Oct 29, 2024
1 parent d5d6ddd commit f8e94af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ users)
## Doc
* Update the command to install opam to point to the new simplified url on opam.ocaml.org [#6226 @kit-ty-kate]
* Fix debian manual url fragment [#6231 @RyanGibb]
* Point users to ways to override the default opam root location in the opam init manpage [#6251 @kit-ty-kate]

## Security fixes

Expand Down
3 changes: 2 additions & 1 deletion src/client/opamCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ let init cli =
`P "Initialise the opam state, or update opam init options";
`P (Printf.sprintf
"The $(b,init) command initialises a local \"opam root\" (by default, \
$(i,~%s.opam%s)) that holds opam's data and packages. This is a \
$(i,~%s.opam%s) unless overriden by $(i,--root) or the $(i,OPAMROOT) \
environment variable) that holds opam's data and packages. This is a \
necessary step for normal operation of opam. The initial software \
repositories are fetched, and an initial 'switch' can also be \
installed, according to the configuration and options. These can be \
Expand Down

0 comments on commit f8e94af

Please sign in to comment.