From 0462632a763abbe1d6c610697258a76e8caa5e7b Mon Sep 17 00:00:00 2001 From: mpollack Date: Thu, 25 Jul 2013 17:20:07 -0400 Subject: [PATCH] SHL-73 - Typo in reference docs: CliOptions is CliOption SHL-71 - Reference docs do not mention PluginProvider interface --- .../docbook/reference/dev-guide/dev-spring-shell.xml | 2 +- docs/src/reference/docbook/reference/shell.xml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/reference/docbook/reference/dev-guide/dev-spring-shell.xml b/docs/src/reference/docbook/reference/dev-guide/dev-spring-shell.xml index fb39cdc4..79f58d70 100644 --- a/docs/src/reference/docbook/reference/dev-guide/dev-spring-shell.xml +++ b/docs/src/reference/docbook/reference/dev-guide/dev-spring-shell.xml @@ -87,7 +87,7 @@ public class HelloWorldCommands implements CommandMarker { - CliOptions - Placed on the arguments of a + CliOption - Placed on the arguments of a command method, allowing it to declare the argument value as mandatory or optional with a default value. diff --git a/docs/src/reference/docbook/reference/shell.xml b/docs/src/reference/docbook/reference/shell.xml index 273c4378..391967f7 100644 --- a/docs/src/reference/docbook/reference/shell.xml +++ b/docs/src/reference/docbook/reference/shell.xml @@ -184,8 +184,10 @@ public class HelloWorldCommands implements CommandMarker { There is a default implementation for these interfaces but you - should create your own implementations for your own shell application. Use - Spring's @Ordered annotation to set the priority of the + should create your own implementations for your own shell application. + All of these interfaces extend from + NamedProvider. Use + Spring's @Order annotation to set the priority of the provider. This allows your provider implementations to take precedence over any other implementations that maybe present on the classpath from other plugins.