Skip to content

Commit 03989c7

Browse files
lauraharkercopybara-github
authored andcommitted
Improve --rewrite_polyfills description in CommandLineRunner
Addresses #3104 (comment). PiperOrigin-RevId: 400248121
1 parent ad52f58 commit 03989c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/com/google/javascript/jscomp/CommandLineRunner.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,9 @@ private static class Flags {
834834
@Option(
835835
name = "--rewrite_polyfills",
836836
handler = BooleanOptionHandler.class,
837-
usage = "Rewrite ES6 library calls to use polyfills provided by the compiler's runtime.")
837+
usage =
838+
"Injects polyfills for ES2015+ library classes and methods used in source. See also"
839+
+ "https://github.com/google/closure-compiler/wiki/Polyfills")
838840
private boolean rewritePolyfills = true;
839841

840842
@Option(

0 commit comments

Comments
 (0)