diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index da9ba523c6..055a7a37d3 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -560,7 +560,7 @@ The following example shows how to specify two locations: TIP: Use the prefix `optional:` if the <> and you don't mind if they don't exist. -WARNING: `spring.config.name` and `spring.config.location` are used very early to determine which files have to be loaded. +WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to determine which files have to be loaded. They must be defined as an environment property (typically an OS environment variable, a system property, or a command-line argument). If `spring.config.location` contains directories (as opposed to files), they must end in `/` or the system-dependent `File.separator`.