aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/config
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/dotty/tools/dotc/config')
-rw-r--r--compiler/src/dotty/tools/dotc/config/ScalaSettings.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
index 687b44815..e4c90789c 100644
--- a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
+++ b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
@@ -220,11 +220,11 @@ class ScalaSettings extends Settings.SettingGroup {
sys.props("user.dir")
)
- val DocTitle = StringSetting (
- "-Ydoc-title",
- "title",
- "The overall name of the Scaladoc site",
- ""
+ val projectName = StringSetting (
+ "-project",
+ "project title",
+ "The name of the project",
+ sys.props("user.dir").split(sys.props("file.separator")).last
)
val DocVersion = StringSetting (