Skip to content

Commit

Permalink
wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed May 3, 2024
1 parent c3b671a commit d775c21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/client/opamCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,9 @@ let init cli =
let cygwin_extra_packages =
if Sys.win32 then
mk_opt ~cli (cli_from ~experimental:true cli2_2)
["cygwin-extra-packages"] "CYGWIN_PACKAGES" "Specify additional packages to install with $(b,--cygwin-internal-install)"
["cygwin-extra-packages"] "CYGWIN_PACKAGES"
"Specify additional packages to install \
with $(b,--cygwin-internal-install)"
Arg.(some (list string)) None
else
Term.const None
Expand Down Expand Up @@ -439,7 +441,9 @@ let init cli =
"Options --cygwin-location and \
--cygwin-extra-packages are incompatible"
| (`internal | `none), None, pkgs ->
Some (`internal (OpamStd.Option.default [] pkgs |> List.map OpamSysPkg.of_string))
Some (`internal
(OpamStd.Option.default [] pkgs
|> List.map OpamSysPkg.of_string))
| (`default_location | `none), Some dir, None -> Some (`location dir)
| (`default_location | `no) as setup, None, None -> Some setup
in
Expand Down

0 comments on commit d775c21

Please sign in to comment.