@@ -302,16 +302,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
302
302
" -o" , string_optional_set Clflags. output_name,
303
303
" <file> set output file name to <file>" ;
304
304
305
- " -color" , string_call set_color_option,
306
- " Enable or disable colors in compiler messages\n \
307
- The following settings are supported:\n \
308
- auto use heuristics to enable colors only if supported\n \
309
- always enable colors\n \
310
- never disable colors\n \
311
- The default setting is 'auto', and the current heuristic\n \
312
- checks that the TERM environment variable exists and is\n \
313
- not empty or \" dumb\" , and that isatty(stderr) holds." ;
314
-
315
305
" -bs-read-cmi" , unit_call (fun _ -> Clflags. assume_no_mli := Mli_exists ),
316
306
" *internal* Assume mli always exist " ;
317
307
@@ -357,6 +347,8 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
357
347
" *internal* Pass gentype command" ;
358
348
359
349
(* *****************************************************************************)
350
+
351
+
360
352
" -bs-super-errors" , unit_lazy Super_main. setup,
361
353
" Better error message combined with other tools " ;
362
354
@@ -381,6 +373,17 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
381
373
" -bs-internal-check" , unit_call Bs_cmi_load. check,
382
374
" *internal* Built in check corrupted data" ;
383
375
376
+ " -color" , string_call set_color_option,
377
+ " Enable or disable colors in compiler messages\n \
378
+ The following settings are supported:\n \
379
+ auto use heuristics to enable colors only if supported\n \
380
+ always enable colors\n \
381
+ never disable colors\n \
382
+ The default setting is 'always'\n \
383
+ The current heuristic for 'auto'\n \
384
+ checks that the TERM environment variable exists and is\n \
385
+ not empty or \" dumb\" , and that isatty(stderr) holds." ;
386
+
384
387
" -bs-list-conditionals" , unit_call (fun () -> Lexer. list_variables Format. err_formatter),
385
388
" List existing conditional variables" ;
386
389
0 commit comments