Skip to content
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

Show @filename in options list #795

Closed
remkop opened this issue Aug 25, 2019 · 0 comments
Closed

Show @filename in options list #795

remkop opened this issue Aug 25, 2019 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Aug 25, 2019

End users may not be aware that they can provide options and positional parameters in @-argument files. If this functionality is enabled, it may make sense to show this in the usage help message in the options list.

For example, javac:

  ...
  -J<flag>                   Pass <flag> directly to the runtime system
  -Werror                    Terminate compilation if warnings occur
  @<filename>                Read options and filenames from file

Javadoc shows this in the synopsis:

Usage: javadoc [options] [packagenames] [sourcefiles] [@files]

In java 10, the java executable:

    @argument files
                  one or more argument files containing options
    -disable-@files
                  prevent further argument file expansion
@remkop remkop added this to the 4.1 milestone Aug 25, 2019
remkop added a commit that referenced this issue Jan 24, 2020
remkop added a commit that referenced this issue Jan 28, 2020
remkop added a commit that referenced this issue Jan 28, 2020
remkop added a commit that referenced this issue Feb 1, 2020
@remkop remkop closed this as completed Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant