Skip to content

Commit

Permalink
Merge pull request #6251 from kit-ty-kate/opamroot-doc
Browse files Browse the repository at this point in the history
Doc: point users to ways to override the default opam root location in the opam init manpage
  • Loading branch information
kit-ty-kate authored Oct 29, 2024
2 parents 8e3ee68 + 18b8d88 commit 240fb1f
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 @@ -132,6 +132,7 @@ users)
* mli documentation: fix code blocks, references, add `@raise` tags [#6150 @rjbou]
* Unhide `OpamProcess` functions [#6150 @rjbou]
* Fix a typo in the default man page [#6267 @fccm2]
* 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 240fb1f

Please sign in to comment.