You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/12/05 08:08:05 UTC
svn commit: r1548027 -
/karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java
Author: jbonofre
Date: Thu Dec 5 07:08:04 2013
New Revision: 1548027
URL: http://svn.apache.org/r1548027
Log:
[KARAF-2604] Improve feature:repo-add command arguments description
Modified:
karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java
Modified: karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java
URL: http://svn.apache.org/viewvc/karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java?rev=1548027&r1=1548026&r2=1548027&view=diff
==============================================================================
--- karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java (original)
+++ karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/RepoAddCommand.java Thu Dec 5 07:08:04 2013
@@ -27,13 +27,13 @@ import org.apache.karaf.shell.console.Ab
@Command(scope = "feature", name = "repo-add", description = "Add a features repository")
public class RepoAddCommand extends AbstractAction {
- @Argument(index = 0, name = "Feature name or uri", description = "Shortcut name of the feature repository or the full URI", required = true, multiValued = false)
+ @Argument(index = 0, name = "name/url", description = "Shortcut name of the features repository or the full URL", required = true, multiValued = false)
private String nameOrUrl;
- @Argument(index = 1, name = "Feature version", description = "The version of the feature if using the feature name. Should be empty if using the uri", required = false, multiValued = false)
+ @Argument(index = 1, name = "version", description = "The version of the features repository if using features repository name as first argument. It should be empty if using the URL", required = false, multiValued = false)
private String version;
- @Option(name = "-i", aliases = { "--install" }, description = "Install all features contained in the repository", required = false, multiValued = false)
+ @Option(name = "-i", aliases = { "--install" }, description = "Install all features contained in the features repository", required = false, multiValued = false)
private boolean install;
private FeatureFinder featureFinder;