@@ -296,8 +296,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
296
296
<num1>..<num2> a range of consecutive warning numbers\n \
297
297
default setting is " ^ Bsc_warnings. defaults_w;
298
298
299
- " -warn-error" , string_call (fun _ -> () ),
300
- " Deprecated: warnings are errors" ;
301
299
302
300
" -o" , string_optional_set Clflags. output_name,
303
301
" <file> set output file name to <file>" ;
@@ -317,7 +315,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
317
315
" *internal* Set jsx version" ;
318
316
319
317
" -bs-package-output" , string_call Js_packages_state. update_npm_package_path,
320
- " Set npm-output-path: [opt_module]:path, for example: 'lib/cjs', 'amdjs:lib/amdjs', 'es6:lib/es6' " ;
318
+ " *internal* Set npm-output-path: [opt_module]:path, for example: 'lib/cjs', 'amdjs:lib/amdjs', 'es6:lib/es6' " ;
321
319
322
320
" -bs-binary-ast" , set Js_config. binary_ast,
323
321
" *internal* Generate binary .mli_ast and ml_ast" ;
@@ -501,7 +499,10 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
501
499
" -bin-annot" , Unit_dummy ,
502
500
" *internal* keep the compatibility with RLS" ;
503
501
" -c" , Unit_dummy ,
504
- " *internal* keep the compatibility with RLS"
502
+ " *internal* keep the compatibility with RLS" ;
503
+ " -warn-error" , string_call (fun _ -> () ),
504
+ " Deprecated: warnings are errors" ;
505
+
505
506
|]
506
507
507
508
0 commit comments