Skip to content

Commit

Permalink
[#259] small doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jul 1, 2018
1 parent 1d6091f commit a013e33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2355,8 +2355,6 @@ Picocli 3.2 introduces a `@Spec` annotation for injecting the `CommandSpec` mode
This is useful when a command needs to use the picocli API, for example to walk the command hierarchy and iterate over its sibling commands.
This complements the `@ParentCommand` annotation; the `@ParentCommand` annotation injects a user-defined command object, whereas this annotation injects a picocli class.

Currently only the `CommandSpec` model of the command can be injected.

[source,java]
----
class InjectSpecExample implements Runnable {
Expand Down

0 comments on commit a013e33

Please sign in to comment.