Skip to content

Commit f274272

Browse files
authored
Merge pull request #4587 from chenglou/format2
fmt -> format
2 parents ab1ffe6 + 549699a commit f274272

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jscomp/main/js_main.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ let intf filename =
210210
; process_interface_file ppf filename;;
211211

212212

213-
let fmt_file input =
213+
let format_file input =
214214
let ext = classify_input (Ext_filename.get_extension_maybe input) in
215215
let syntax =
216216
match ext with
@@ -450,7 +450,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
450450
"-dsource", set Clflags.dump_source,
451451
"*internal* print source";
452452

453-
"-fmt", string_call fmt_file,
453+
"-format", string_call format_file,
454454
"Format as Res syntax";
455455

456456
"-where", unit_call print_standard_library,

lib/4.06.1/whole_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437297,7 +437297,7 @@ let intf filename =
437297437297
; process_interface_file ppf filename;;
437298437298

437299437299

437300-
let fmt_file input =
437300+
let format_file input =
437301437301
let ext = classify_input (Ext_filename.get_extension_maybe input) in
437302437302
let syntax =
437303437303
match ext with
@@ -437535,7 +437535,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
437535437535
"-dsource", set Clflags.dump_source,
437536437536
"*internal* print source";
437537437537

437538-
"-fmt", string_call fmt_file,
437538+
"-format", string_call format_file,
437539437539
"Format as Res syntax";
437540437540

437541437541
"-where", unit_call print_standard_library,

0 commit comments

Comments
 (0)