Commit da172f4 1 parent 06d6b5f commit da172f4 Copy full SHA for da172f4
File tree 4 files changed +4
-3
lines changed
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ users)
227
227
* ` OpamArg.hash_kinds ` : was added [ #5960 @kit-ty-kate ]
228
228
* ` OpamRepositoryCommand.switch_repos ` : expose the function [ #5014 @kit-ty-kate ]
229
229
* ` OpamLockCommand.lock_opam ` : add ` ~keep_local ` argument to add local pins to pin-depends (and not resolve them) [ #6411 @rjbou ]
230
+ * ` OpamLockCommand.lock_opam ` : make the ` ?only_direct ` argument non-optional [ #6411 @kit-ty-kate ]
230
231
231
232
## opam-repository
232
233
* ` OpamDownload.get_output ` : fix ` wget ` option for ` POST ` requests [ #6036 @rjbou ]
Original file line number Diff line number Diff line change @@ -4407,7 +4407,7 @@ let lock cli =
4407
4407
let lock_suffix = OpamArg. lock_suffix cli in
4408
4408
let keep_local_flag =
4409
4409
mk_flag ~cli (cli_from cli2_4) [" keep-local" ]
4410
- " Do not discard local pins from pin-depends."
4410
+ " Keep local pin paths in ' pin-depends:' field ."
4411
4411
in
4412
4412
let lock global_options only_direct lock_suffix keep_local atom_locs () =
4413
4413
apply_global_options cli global_options;
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ let get_git_url url nv dir =
128
128
(OpamPackage. to_string nv);
129
129
None )
130
130
131
- let lock_opam ?( only_direct = false ) ~keep_local st opam =
131
+ let lock_opam ~ only_direct ~keep_local st opam =
132
132
let nv = OpamFile.OPAM. package opam in
133
133
(* Depends *)
134
134
let all_depends =
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ val select_packages:
27
27
resolved to a distant url and they are all added with their local path in
28
28
'pin_depends:' field. *)
29
29
val lock_opam :
30
- ? only_direct :bool -> keep_local :bool ->
30
+ only_direct :bool -> keep_local :bool ->
31
31
'a switch_state -> OpamFile.OPAM .t -> OpamFile.OPAM .t
You can’t perform that action at this time.
0 commit comments