From b98cb4926d85ecf780415f4e7f4075d6dc4e2c6c Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Thu, 8 Dec 2022 10:02:46 +0000 Subject: [PATCH] Fix typo - Relates #579 --- .../src/main/asciidoc/using-shell-commands-writing.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-commands-writing.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-commands-writing.adoc index 518a6a18..7f73f25b 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-commands-writing.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-commands-writing.adoc @@ -6,7 +6,7 @@ use JDK's `System.out` which then goes directly into JDK's own streams. Other recommended way is to use JLine's `Terminal` and get _writer_ instance from there. -If using target enpoints, i.e. _consumer_ which is not expected +If using target endpoints, i.e. _consumer_ which is not expected to return anything given `CommandContext` contains reference to `Terminal` and writer can be accessed from there.