Skip to content

Commit 3cad4df

Browse files
committed
Provide a default for MSYS2 init with -y
Initialising MSYS2 requires unsafe-yes, but the default for -y (to ignore) was missing.
1 parent e31fbde commit 3cad4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/opamClient.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ let initialise_msys2 root =
12331233
in
12341234
let answer =
12351235
let cmd = OpamConsole.colorise `yellow (cmd ^ " -lc \"uname -a\"") in
1236-
OpamConsole.menu ~unsafe_yes:`Yes ~default:`Yes ~no:`Quit
1236+
OpamConsole.menu ~default:`Yes ~unsafe_yes:`Yes ~yes:`Ignore ~no:`Quit
12371237
"MSYS2 appears not to have been initialised. opam can:"
12381238
~options:[
12391239
`Yes, Printf.sprintf

0 commit comments

Comments
 (0)