Skip to content

Commit

Permalink
Man page generator: add documentation about creating language variants (
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored and remkop committed May 23, 2020
1 parent 66aa73d commit 581ed13
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ private void verboseDetailed(String message, Object... params) {
"See https://asciidoctor.org/docs/user-manual/#man-pages",
"See http://man7.org/linux/man-pages/man7/roff.7.html",
"",
"In order to generate localized man pages, set the target locale by specifying the user.language, user.country, and user.variant system properties.",
"The generated usage help will then contain information retrieved from the resource bundle based on the user locale.",
"",
"Example",
"-------",
" java -cp \"myapp.jar;picocli-4.3.3-SNAPSHOT.jar;picocli-codegen-4.3.3-SNAPSHOT.jar\" " +
" java -Duser.language=de -cp \"myapp.jar;picocli-4.3.3-SNAPSHOT.jar;picocli-codegen-4.3.3-SNAPSHOT.jar\" " +
"picocli.codegen.docgen.manpage.ManPageGenerator my.pkg.MyClass"
}
)
Expand Down

0 comments on commit 581ed13

Please sign in to comment.