diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 32bfcb7edc..7bfbbd2a93 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -276,12 +276,12 @@ configuration by setting properties in `+spring.main.*+`. For example, in [source,properties,indent=0,subs="verbatim,quotes,attributes"] ---- - spring.main.web-environment=false + spring.main.web-application-type=none spring.main.banner-mode=off ---- -Then the Spring Boot banner is not printed on startup, and the application is -not a web application. +Then the Spring Boot banner is not printed on startup, and the application is not starting +an embedded web server. NOTE: The preceding example also demonstrates how flexible binding allows the use of underscores (`_`) as well as dashes (`-`) in property names.