Skip to content

Commit 2c13979

Browse files
committed
tweak
1 parent edd9431 commit 2c13979

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

jscomp/main/js_main.ml

+5-4
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
296296
<num1>..<num2> a range of consecutive warning numbers\n\
297297
default setting is " ^ Bsc_warnings.defaults_w;
298298

299-
"-warn-error", string_call (fun _ -> ()),
300-
"Deprecated: warnings are errors";
301299

302300
"-o", string_optional_set Clflags.output_name,
303301
"<file> set output file name to <file>";
@@ -317,7 +315,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
317315
"*internal* Set jsx version";
318316

319317
"-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' ";
321319

322320
"-bs-binary-ast", set Js_config.binary_ast,
323321
"*internal* Generate binary .mli_ast and ml_ast";
@@ -501,7 +499,10 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
501499
"-bin-annot", Unit_dummy,
502500
"*internal* keep the compatibility with RLS";
503501
"-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+
505506
|]
506507

507508

0 commit comments

Comments
 (0)