Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-06-10 22:19:13 -0400
committerPascal Rapicault2011-06-10 22:19:13 -0400
commita7fced6303d4e6dd565ae143c2b3c0694cc8fe33 (patch)
tree7ab8150d1eb48d7149574aed73eee8602a33de7f /bundles/org.eclipse.equinox.p2.console
parent390f6f86d3d1f4ddcd5c3f5b9eab12b43b91e5ec (diff)
downloadrt.equinox.p2-a7fced6303d4e6dd565ae143c2b3c0694cc8fe33.tar.gz
rt.equinox.p2-a7fced6303d4e6dd565ae143c2b3c0694cc8fe33.tar.xz
rt.equinox.p2-a7fced6303d4e6dd565ae143c2b3c0694cc8fe33.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.console')
-rw-r--r--bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java5
-rw-r--r--bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties2
2 files changed, 3 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java
index c9c9ef62c..85a4103c4 100644
--- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java
+++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java
@@ -205,9 +205,8 @@ public class ProvCommandProvider implements CommandProvider {
public void _provaddprofile(CommandInterpreter interpreter) {
String profileId = interpreter.nextArgument();
String location = interpreter.nextArgument();
- String flavor = interpreter.nextArgument();
- if (profileId == null || location == null || flavor == null) {
- interpreter.println("Id, location, and flavor must be provided");
+ if (profileId == null || location == null) {
+ interpreter.println("Id and location must be provided");
return;
}
String environments = interpreter.nextArgument();
diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties
index e422fb27f..02c1593f7 100644
--- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties
+++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties
@@ -23,7 +23,7 @@ Console_help_provlar_description=[<repository URI>] - Lists all artifact reposit
Console_help_provliu_description=[<repository URI | *> <iu id | *> <version range | *>] - Lists the IUs that match the pattern in the given repo. * matches all.
Console_help_provlquery_description=<repository URI | *> <expression> [ true | false ] - Lists the IUs that match the query expression in the given repo. * matches all. The expression is expected to be a boolean match expression unless the third argument is true, in which case the expression is a full query.
Console_help_profile_registry_header=Profile Registry Commands.
-Console_help_provaddprofile_description=<profileid> <location> <flavor> - Add a profile with the given profileid, location and flavor.
+Console_help_provaddprofile_description=<profileid> <location> <environments> - Add a profile with the given profileid, location and also environments if specified.
Console_help_provdelprofile_description=<profileid> - Deletes the profile with the given profileid.
Console_help_provlp_description=[<profileid | *>] - Lists all profiles, or the contents of an individual profile if profileid is specified.
Console_help_provlgp_description=[<profileid>] - Lists all IUs with group capabilities in the given profile, or current profile if profileid is omitted.

Back to the top