On Thu, 13 Feb 2025 16:41:54 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:
> This patch adds a new message when you run the `javadoc` executable with any > arguments. > Currently, unlike most other tools, running `javadoc` without any arguments > does not show you how to use the tool or point you to use the `--help` > option, this can be improved. > > Before change: > > W $ ./javadoc > error: No modules, packages or classes specified. > 1 error > > > After change: > > W $ ./javadoc > Usage: > javadoc [options] [packagenames] [sourcefiles] [@files] > For additional help on usage: javadoc --help This pull request has now been integrated. Changeset: 6b84bdef Author: Nizar Benalla <nbena...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/6b84bdef3b203e62cebd77705ef5b3e081302c28 Stats: 11 lines in 3 files changed: 6 ins; 1 del; 4 mod 8350007: Add usage message to the javadoc executable Reviewed-by: hannesw ------------- PR: https://git.openjdk.org/jdk/pull/23618