From 8fd15d4b348d4621dbcc75652b5e4b89b394b0a1 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Fri, 27 Jan 2023 18:15:37 +0900 Subject: [PATCH] [#1940] fix 3 failing tests in `ManPageGeneratorTest` --- RELEASE-NOTES.md | 1 + .../src/test/resources/manpagegenerator/main_class.adoc | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7baf54df7..793764533 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -28,6 +28,7 @@ Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96). * [#1870] Bugfix: `StringIndexOutOfBoundsException` in usage help when command has too many (and long) aliases. Thanks to [Martin](https://github.com/martlin2cz) for raising this. * [#1904] Bugfix: Apply `fallbackValue` to vararg multi-value options, not just single-value options. Thanks to [Andreas Sewe](https://github.com/sewe) for raising this. * [#1930] Bugfix: Ensure tests pass in environments for Java 5-18. +* [#1940] Bugfix: fix 3 failing tests in `ManPageGeneratorTest`. Thanks to [Mike Snowden](https://github.com/wtfacoconut) for the pull request. * [#1881] DOC: Many documentation improvements. Thanks to [Andreas Deininger](https://github.com/deining) for the pull request. * [#1855][#1857] DOC: Add new user manual section called [Rare Use Cases](https://picocli.info/#_rare_use_cases) detailing `System.exit` usage. Thanks to [Tadaya Tsuyukubo](https://github.com/ttddyy) for the pull request. * [#1880] DOC: Improve documentation for negatable options that are true by default. Thanks to [Sebastian Hoß](https://github.com/sebhoss) for raising this. diff --git a/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc b/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc index a70e0e111..1d6ceee34 100644 --- a/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc +++ b/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc @@ -1,9 +1,9 @@ // tag::picocli-generated-full-manpage[] // tag::picocli-generated-man-section-header[] :doctype: manpage -:revnumber: +:revnumber: :manmanual:
Manual -:mansource: +:mansource: :man-linkstyle: pass:[blue R < >] =
(1) @@ -12,7 +12,7 @@ // tag::picocli-generated-man-section-name[] == Name -
- +
- // end::picocli-generated-man-section-name[] @@ -38,7 +38,7 @@ == Arguments __:: - + // end::picocli-generated-man-section-arguments[]