Skip to content

Options specific to the launcher do not show up in --help #9028

@headius

Description

@headius

Options provided only at the launcher level — usually flags that must be processed before starting the JVM — are not included in --help output. This effectively makes them hidden options. Several of these would be useful to include in --help:

  • --environment helps debug configuration issues preventing JRuby from launching.
  • --cache and related flags are used to work with AppCDS archives on supported JVMs.
  • --checkpoint is used by the experimental CRaC subsystem.

I'd like to find a way to get these launcher options into the --help output. My idea at present would be to have a file in bin that provides at least documentation for these issues (so it can be read and included by the --help formatter) and potentially provides the actual implementation of these features (to allow us to start modularizing these features rather than having one giant shell script).

Modularizing may be out of scope for this issue, but I think it's worth some discussion. Nearly every one of these flags are associated with a "plugin" or "feature" of the launcher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions