Cleanup command name
authorJean-Baptiste Onofré <jbonofre@apache.org>
Sun, 13 Jan 2019 06:56:00 +0000 (07:56 +0100)
committerJean-Baptiste Onofré <jbonofre@apache.org>
Sun, 13 Jan 2019 06:56:00 +0000 (07:56 +0100)
deployer/command/src/main/java/org/apache/karaf/cave/deployer/command/FeaturesRepositoryListCommand.java
deployer/command/src/main/java/org/apache/karaf/cave/deployer/command/FeaturesRepositoryProvideCommand.java

index d1288cb..0b24564 100644 (file)
@@ -30,7 +30,7 @@ import org.apache.karaf.shell.support.table.ShellTable;
 import java.util.List;
 
 @Service
-@Command(scope = "cave", name = "deployer-features-repo-list", description = "List the features repositories on a remote instance")
+@Command(scope = "cave", name = "deployer-feature-repo-list", description = "List the features repositories on a remote instance")
 public class FeaturesRepositoryListCommand implements Action {
 
     @Reference
index 10107a5..4b133e8 100644 (file)
@@ -28,13 +28,13 @@ import org.apache.karaf.shell.support.table.ShellTable;
 import java.util.List;
 
 @Service
-@Command(scope = "cave", name = "deployer-features-repo-provide", description = "List the features provided by a given features repository")
+@Command(scope = "cave", name = "deployer-feature-repo-provide", description = "List the features provided by a given features repository")
 public class FeaturesRepositoryProvideCommand implements Action {
 
     @Reference
     private Deployer deployer;
 
-    @Argument(index = 0, name = "featuresRepositoryUrl", description = "The location")
+    @Argument(index = 0, name = "featuresRepositoryUrl", description = "The location", required = true, multiValued = false)
     String featuresRepositoryUrl;
 
     @Override