Skip to content

Commit 2bcadb5

Browse files
committed
[#2381] DOC: Improve usage manual for localizing subcommands via ResourceBundle
Closes #2381
1 parent 3ad43e8 commit 2bcadb5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/index.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10113,6 +10113,11 @@ usage.description.1 = second line
1011310113
usage.description.2 = third line
1011410114
usage.synopsisHeading = Usage:\u0020
1011510115

10116+
# For subcommands, prefix the entry with the top-level command name.
10117+
# For example, if the name of the top-level command is MYTOPCOMMAND with a help subcommand,
10118+
# then this is how to change the help subcommand main description:
10119+
MYTOPCOMMAND.help.usage.header = MY CUSTOM HELP HEADER
10120+
1011610121
# Leading whitespace is removed by default.
1011710122
# Start with \u0020 to keep the leading whitespace.
1011810123
usage.customSynopsis.0 = Usage: ln [OPTION]... [-T] TARGET LINK_NAME (1st form)

0 commit comments

Comments
 (0)