diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/common/Usage.java b/compiler/cli/src/org/jetbrains/kotlin/cli/common/Usage.java index e935218c006..44d342ff682 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/common/Usage.java +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/common/Usage.java @@ -61,6 +61,11 @@ public class Usage { appendln(sb, BAT_DELIMITER_CHARACTERS_NOTE); } + if (!extraHelp && tool instanceof CLICompiler) { + appendln(sb, ""); + appendln(sb, "For details, see https://kotl.in/cli"); + } + return sb.toString(); } diff --git a/compiler/testData/cli/js/jsHelp.out b/compiler/testData/cli/js/jsHelp.out index 6d771b7b39a..1f880213b02 100644 --- a/compiler/testData/cli/js/jsHelp.out +++ b/compiler/testData/cli/js/jsHelp.out @@ -33,4 +33,6 @@ where possible options include: -verbose Enable verbose logging output -version Display compiler version @ Read compiler arguments and file paths from the given file + +For details, see https://kotl.in/cli OK diff --git a/compiler/testData/cli/jvm/help.out b/compiler/testData/cli/jvm/help.out index 59ae3ae4f92..d70cd56fb46 100644 --- a/compiler/testData/cli/jvm/help.out +++ b/compiler/testData/cli/jvm/help.out @@ -31,4 +31,6 @@ where possible options include: -verbose Enable verbose logging output -version Display compiler version @ Read compiler arguments and file paths from the given file + +For details, see https://kotl.in/cli OK