2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-26 00:37:10 -07:00

Tweaks to help overview documentation

This commit is contained in:
Geert Bevin 2024-07-17 22:31:50 -04:00
parent 0ed48f9eed
commit b0a75b22b7
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View file

@ -141,7 +141,7 @@ public class HelpOperation {
Usage: help [command] [""" + JSON_ARGUMENT + "]"); Usage: help [command] [""" + JSON_ARGUMENT + "]");
System.err.println(""" System.err.println("""
The following commands are supported. The following commands are supported:
"""); """);
var command_length = commands.keySet().stream().max(comparingInt(String::length)).get().length() + 2; var command_length = commands.keySet().stream().max(comparingInt(String::length)).get().length() + 2;
@ -155,8 +155,13 @@ public class HelpOperation {
System.err.println(""" System.err.println("""
--offline Work without internet (only as first argument) The following help arguments are supported:
--json Output help in JSON format --json Output help in JSON format
The following bld arguments are supported:
--offline Work without internet (only as first argument)
-?, -h, --help Shows this help message -?, -h, --help Shows this help message
-D<name>=<value> Set a JVM system property -D<name>=<value> Set a JVM system property
-s, --stacktrace Print out the stacktrace for exceptions -s, --stacktrace Print out the stacktrace for exceptions