@@ -872,7 +872,7 @@ let git_for_windows kind mechanism cygwin_is_tweakable =
872
872
let prompt () =
873
873
OpamStd.Option. iter (OpamConsole. warning " %s\n " ) gfw_message;
874
874
OpamConsole. menu " Which Git should opam use?"
875
- ~default ~no: default ~options
875
+ ~default ~yes: default ~ no: default ~options
876
876
in
877
877
match prompt () with
878
878
| `Default -> None , cygwin_is_tweakable
@@ -1155,7 +1155,7 @@ let rec cygwin_menu ~bypass_checks header =
1155
1155
order to operate correctly. At present, this requires the installation \
1156
1156
of Cygwin to provide these tools.\n\n " ;
1157
1157
match OpamConsole. menu " How should opam obtain Unix tools?"
1158
- ~default ~no: default ~options with
1158
+ ~default ~yes: default ~ no: default ~options with
1159
1159
| `Chosen (kind , `Internal) ->
1160
1160
assert (kind = `Cygwin );
1161
1161
Some (kind, `Internal OpamInitDefaults. required_packages_for_cygwin)
@@ -1233,7 +1233,7 @@ let initialise_msys2 root =
1233
1233
in
1234
1234
let answer =
1235
1235
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
1237
1237
" MSYS2 appears not to have been initialised. opam can:"
1238
1238
~options: [
1239
1239
`Yes , Printf. sprintf
@@ -1728,8 +1728,8 @@ let get_redirected_root () =
1728
1728
OpamStd.Option. replace check (OpamConsole. read " Root directory for opam: " )
1729
1729
in
1730
1730
let rec menu () =
1731
- match OpamConsole. menu " Where should opam store files?" ~default ~ options
1732
- ~no: default with
1731
+ match OpamConsole. menu " Where should opam store files?" ~options
1732
+ ~default ~yes: default ~ no: default with
1733
1733
| `Redirect ->
1734
1734
Some None
1735
1735
| `Endure ->
0 commit comments