Skip to content

Docs: Fix --exclude-config documentation #11131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference-manual/native-image/BuildOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Run `native-image --help` for help on build options.

Run `native-image --help-extra` for help on additional options.

* `--exclude-config`: exclude configuration for a comma-separated pair of class path/module path pattern and resource pattern. For example: `--exclude-config foo.jar,META-INF\/native-image\/.*.properties` ignores all properties files in _META-INF/native-image_ in all JAR files named _foo.jar_.
* `--exclude-config`: exclude configuration for a space-separated pair of class path/module path pattern and resource pattern. For example: `--exclude-config foo.jar META-INF\/native-image\/.*.properties` ignores all properties files in _META-INF/native-image_ in all JAR files named _foo.jar_.
* `--expert-options`: list image build options for experts
* `--expert-options-all`: list all image build options for experts (use at your own risk). Options marked with _Extra help available_ contain help that can be shown with `--expert-options-detail`
* `--expert-options-detail`: display all available help for a comma-separated list of option names. Pass `*` to show extra help for all options that contain it.
Expand Down
4 changes: 2 additions & 2 deletions substratevm/src/com.oracle.svm.driver/resources/HelpExtra.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Non-standard options help:

--exclude-config exclude configuration for a comma-separated pair of classpath/modulepath
--exclude-config exclude configuration for a space-separated pair of classpath/modulepath
pattern and resource pattern. For example:
'--exclude-config foo.jar,META-INF\/native-image\/.*.properties'
'--exclude-config foo.jar META-INF\/native-image\/.*.properties'
ignores all .properties files in 'META-INF/native-image' in all
JARs named 'foo.jar'.
--expert-options lists image build options for experts
Expand Down