diff --git a/picocli-codegen/src/test/java/picocli/codegen/docgen/manpage/ManPageGeneratorTest.java b/picocli-codegen/src/test/java/picocli/codegen/docgen/manpage/ManPageGeneratorTest.java index e21cb23f9..f83c945d4 100644 --- a/picocli-codegen/src/test/java/picocli/codegen/docgen/manpage/ManPageGeneratorTest.java +++ b/picocli-codegen/src/test/java/picocli/codegen/docgen/manpage/ManPageGeneratorTest.java @@ -210,7 +210,6 @@ class MyApp { assertEquals(expected, sw.toString()); } - @Ignore("[#1930] - needs test fixes for #1896 changes") @Test public void testHiddenOptions() throws IOException { @@ -288,7 +287,6 @@ private String readAndClose(InputStream in) throws IOException { } } - @Ignore("[#1930] - needs test fixes for #1896 changes") @Test public void testEndOfOptionsWithoutOptions() throws IOException { @@ -458,7 +456,6 @@ public Integer call() throws Exception { } } - @Ignore("[#1930] - needs test fixes for #1896 changes") @Test public void testNamelessCommand() throws IOException { File outdir = new File(System.getProperty("java.io.tmpdir"), "manpage" + System.currentTimeMillis()); diff --git a/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc b/picocli-codegen/src/test/resources/manpagegenerator/main_class.adoc index 334e8ba58..a70e0e111 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[] @@ -31,13 +31,14 @@ // end::picocli-generated-man-section-description[] // tag::picocli-generated-man-section-options[] + // end::picocli-generated-man-section-options[] // tag::picocli-generated-man-section-arguments[] == Arguments __:: - + // end::picocli-generated-man-section-arguments[] diff --git a/picocli-codegen/src/test/resources/testEndOfOptionsWithoutOptions.manpage.adoc b/picocli-codegen/src/test/resources/testEndOfOptionsWithoutOptions.manpage.adoc index 6763bf5e0..53c3b7f5b 100644 --- a/picocli-codegen/src/test/resources/testEndOfOptionsWithoutOptions.manpage.adoc +++ b/picocli-codegen/src/test/resources/testEndOfOptionsWithoutOptions.manpage.adoc @@ -31,10 +31,6 @@ This app does great things. // end::picocli-generated-man-section-description[] // tag::picocli-generated-man-section-options[] -== Options - -*--*:: - This option can be used to separate command-line options from the list of positional parameters. // end::picocli-generated-man-section-options[] diff --git a/picocli-codegen/src/test/resources/testHiddenOptions.manpage.adoc b/picocli-codegen/src/test/resources/testHiddenOptions.manpage.adoc index 8b64e915e..6213dde00 100644 --- a/picocli-codegen/src/test/resources/testHiddenOptions.manpage.adoc +++ b/picocli-codegen/src/test/resources/testHiddenOptions.manpage.adoc @@ -31,6 +31,7 @@ This app does great things. // end::picocli-generated-man-section-description[] // tag::picocli-generated-man-section-options[] + // end::picocli-generated-man-section-options[] // tag::picocli-generated-man-section-arguments[]