Skip to content

Commit e0b9594

Browse files
committed
Fix hidden command documentation
Credits to @axaggelpapa30 for the fix: axaggelpapa30#1 Resolves #1178
1 parent 7971503 commit e0b9594

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • spring-shell-docs/modules/ROOT/pages/commands

spring-shell-docs/modules/ROOT/pages/commands/hidden.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ to define _hidden_ state.
2323
include::{snippets}/CommandRegistrationHiddenSnippets.java[tag=snippet1]
2424
----
2525

26-
NOTE: Defining hidden commands is not supported with annotation based configuration
26+
NOTE: Hidden commands are supported when using annotation-based configuration.
27+
Use `hidden = true` in the `@Command` annotation to hide a command from the help listing.
28+

0 commit comments

Comments
 (0)