-
Bug
-
Resolution: Done
-
Major
-
6.2.0
-
None
-
None
-
Sprint 2015-K
The console reference for the fabric:profile-edit command has some incorrect examples.
The sections referring the to adding and removing bundles is incorrect. The example shows the -bundle option being used when the actual option is -bundles
The command help of fabric:profile-edit shows the following options:
JBossFuse:karaf@root> fabric:profile-edit --help
DESCRIPTION
fabric:profile-edit
Edits the specified version of the specified profile (where the version defaults to the current default version)
SYNTAX
fabric:profile-edit [options] profile [version]
ARGUMENTS
profile
The target profile to edit
version
The version of the profile to edit. Defaults to the current default version.
OPTIONS
-i, --import-pid
Imports the pids that are edited, from local OSGi config admin
--help
Display this help message
--delimiter
Specifies the delimiter to use for appends and removals.
(defaults to ,)
--delete
Delete values. This option can be used to delete a feature, a bundle or a pid from the profile.
-o, --overrides
Edit overrides, specifying a comma-separated list of overrides to add (or delete).
-r, --repositories
Edit the features repositories
-p, --pid
Edit an OSGi configuration property, specified in the format <PID>/<Property>.
--resource
Selects a resource under the profile to edit. This option should only be used alone.
-f, --features
Edit features, specifying a comma-separated list of features to add (or delete).
--remove
Removes value from a delimited list. It is only usable with the system, config & pid options
--set
Set or create values (selected by default).
(defaults to true)
--append
Append value to a delimited list. It is only usable with the system, config & pid options
--fabs
Edit fabs, specifying a comma-separated list of fabs to add (or delete).
-n, --endorsed
Edit endorsed libraries, specifying a comma-separated list of libs to add (or delete).
-b, --bundles
Edit bundles, specifying a comma-separated list of bundles to add (or delete).
-s, --system
Edit the Java system properties that affect installed bundles (analogous to editing etc/system.properties in a root container).
-l, --libs
Edit libraries, specifying a comma-separated list of libs to add (or delete).
-c, --config
Edit the Java system properties that affect the karaf container (analogous to editing etc/config.properties in a root container).
-x, --extension
Edit extension libraries, specifying a comma-separated list of libs to add (or delete).