From 267f6481f8ad82c0a842f940233473df7d992ffb Mon Sep 17 00:00:00 2001 From: A Vaz Date: Fri, 10 Apr 2020 11:08:42 +0200 Subject: [PATCH] Fix typo See gh-20907 --- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 9faeb626cb..5f496e62e2 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1442,7 +1442,7 @@ You could also specify it on the command line by using the following switch: `-- The configprop:spring.profiles.active[] property follows the same ordering rules as other properties: The highest `PropertySource` wins. This means that you can specify active profiles in `application.properties` and then *replace* them by using the command line switch. -Sometimes, it is useful to have profil-specific properties that *add* to the active profiles rather than replace them. +Sometimes, it is useful to have profile-specific properties that *add* to the active profiles rather than replace them. The configprop:spring.profiles.include[] property can be used to unconditionally add active profiles. The `SpringApplication` entry point also has a Java API for setting additional profiles (that is, on top of those activated by the configprop:spring.profiles.active[] property). See the `setAdditionalProfiles()` method in {spring-boot-module-api}/SpringApplication.html[SpringApplication].