This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Since it is possible to register custom options [1], it is worth to give the possibility to show their functionality and help in the launcher`s help as well. [1] http://wiki.netbeans.org/NBIExtendingCommandLineOptions
First drop of implementation provides possibility to pass the option description via getHelpKey() method of the Option class. It shows engine options by passing --more argument (alone or together with --help) to the launcher or installer bundle. Open issues: 1) it is worth to provide different - one for .exe and one for .sh launcher - versions of the key due to the default formatting difference. 2) it is worth to provide functionality to show/hide default engine options in the help (like suggest-install or create- bundle) since they are not much of interested for the installers` end users. 3) it is questionable but there should be likely a way to show all options (launcher and engine) by passing only --help argument (without passing --more option). 4) They can be a mix of 2 and 3: some engine options can be shown in default help (like --look-and-feel or --userdir), some (like suggest-install or ignore-lock) - only in --more help.
Created attachment 70149 [details] First implementation patch
Created attachment 70201 [details] Engine sources with the applied changes
Assigned to new owner.