You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2011/09/20 20:31:40 UTC
svn commit: r1173296 -
/felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java
Author: rickhall
Date: Tue Sep 20 18:31:40 2011
New Revision: 1173296
URL: http://svn.apache.org/viewvc?rev=1173296&view=rev
Log:
Changed "required only" flag name. (FELIX-3118)
Modified:
felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java
Modified: felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java?rev=1173296&r1=1173295&r2=1173296&view=diff
==============================================================================
--- felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java (original)
+++ felix/trunk/gogo/command/src/main/java/org/apache/felix/gogo/command/OBR.java Tue Sep 20 18:31:40 2011
@@ -296,8 +296,8 @@ public class OBR
@Parameter(names={ "-s", "--start" }, presentValue="true",
absentValue="false") boolean start,
@Descriptor("deploy required bundles only")
- @Parameter(names={ "-r", "--required" }, presentValue="true",
- absentValue="false") boolean required,
+ @Parameter(names={ "-ro", "--required-only" }, presentValue="true",
+ absentValue="false") boolean requiredOnly,
@Descriptor("( <bundle-name> | <symbolic-name> | <bundle-id> )[@<version>] ...")
String[] args)
throws IOException, InvalidSyntaxException
@@ -357,7 +357,7 @@ public class OBR
+ " (" + resources[resIdx].getVersion() + ")");
}
}
- if (!required)
+ if (!requiredOnly)
{
resources = resolver.getOptionalResources();
if ((resources != null) && (resources.length > 0))
@@ -380,7 +380,7 @@ public class OBR
{
options |= Resolver.START;
}
- if (required)
+ if (requiredOnly)
{
options |= Resolver.NO_OPTIONAL_RESOURCES;
}