Skip to content

Commit 62e469b

Browse files
committed
Polish naming in docs
- Relates #637
1 parent efbc223 commit 62e469b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

spring-shell-docs/src/main/asciidoc/using-shell-commands-registration-legacyannotation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[commands-registration-legacyannotation]]
2-
==== Annotation Legacy
2+
==== Legacy Annotation
33
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
44

55
When you use the standard API, methods on beans are turned into executable commands, provided that:

spring-shell-docs/src/main/asciidoc/using-shell-commands-registration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ and removed. Secondly so that we're able to provide same set of features than us
1414
`CommandRegistration`. Creating new a annotation model allows us to rethink and modernise that
1515
part without breaking existing applications.
1616

17-
include::using-shell-commands-registration-annotation.adoc[]
18-
1917
include::using-shell-commands-registration-programmatic.adoc[]
2018

19+
include::using-shell-commands-registration-annotation.adoc[]
20+
2121
include::using-shell-commands-registration-legacyannotation.adoc[]

spring-shell-docs/src/main/asciidoc/using-shell-options-basics-registration.adoc renamed to spring-shell-docs/src/main/asciidoc/using-shell-options-basics-programmatic.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[[using-shell-options-basics-registration]]
2-
==== Registration
2+
[[using-shell-options-basics-programmatic]]
3+
==== Programmatic
34
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
45

56
Programmatic way with `CommandRegistration` is to use `withOption` to define

spring-shell-docs/src/main/asciidoc/using-shell-options-basics.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ This section gives a generic idea how an option can be defined. Following
66
sections, beyond basics, discuss more about how various option behaviour
77
can be accomplished for a particular use case.
88

9-
include::using-shell-options-basics-annotation.adoc[]
9+
include::using-shell-options-basics-programmatic.adoc[]
1010

11-
include::using-shell-options-basics-registration.adoc[]
11+
include::using-shell-options-basics-annotation.adoc[]
1212

1313
include::using-shell-options-basics-legacyannotation.adoc[]

0 commit comments

Comments
 (0)