Skip to content

Commit

Permalink
Document --exclude-config.
Browse files Browse the repository at this point in the history
Fixes #6935.
  • Loading branch information
fniephaus committed Jul 7, 2023
1 parent b828f52 commit 65390b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference-manual/native-image/BuildOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ The `--language:js` `--language:nodejs`, `--language:python`, `--language:ruby`,

Run `native-image --help-extra` for non-standard options help.

* `--exclude-config`: exclude configuration for a comma-separated pair of classpath/modulepath 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 JARs 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
5 changes: 5 additions & 0 deletions substratevm/src/com.oracle.svm.driver/resources/HelpExtra.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Non-standard options help:

--exclude-config exclude configuration for a comma-separated pair of classpath/modulepath
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
JARs named 'foo.jar'.
--expert-options lists image build options for experts
--expert-options-all lists all image build options for experts (use at your own risk).
Options marked with [Extra help available] contain help that can be
Expand Down

0 comments on commit 65390b6

Please sign in to comment.