From 7f9efd1374e3231c6677256389f671a176ab248b Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Mon, 1 May 2023 17:27:05 +0100 Subject: [PATCH] Fix docs for option label - Relates #732 --- .../src/main/asciidoc/using-shell-options-label.adoc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-options-label.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-options-label.adoc index 00c030b5..c2f8ccc5 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-options-label.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-options-label.adoc @@ -25,18 +25,15 @@ Defining label is then shown in `help`. ==== [source, bash] ---- -my-shell:>help mycommand +my-shell:>help labelOption NAME - mycommand - + labelOption - SYNOPSIS - mycommand --arg1 String --arg2 MYLABEL + labelOption --arg MYLABEL OPTIONS - --arg1 String - [Optional] - - --arg2 MYLABEL + --arg MYLABEL [Optional] ----