Skip to content

Commit

Permalink
Asciidoctor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Dec 24, 2023
1 parent eaac195 commit 38acef9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file modified docs/apidocs/member-search-index.zip
Binary file not shown.
Binary file modified docs/apidocs/package-search-index.zip
Binary file not shown.
Binary file modified docs/apidocs/type-search-index.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1052,15 +1052,15 @@ Assert.assertEquals(p.delegate.port, 1234);

== Dynamic parameters

JCommander allows you to specify parameters that are not known at compile time, such as "-Da=b -Dc=d". Such parameters are specified with the `@DynamicParameter` annotation and must be of type `Map<String, String>`. Dynamic parameters are allowed to appear multiple times on the command line:
JCommander allows you to specify parameters that are not known at compile time, such as `-Da=b -Dc=d`. Such parameters are specified with the `@DynamicParameter` annotation and must be of type `Map<String, String>`. Dynamic parameters are allowed to appear multiple times on the command line:

[source,java]
----
@DynamicParameter(names = "-D", description = "Dynamic parameters go here")
private Map<String, String> params = new HashMap<>();
----

You can specify a different assignment string than = by using the attribute `assignment`.
You can specify a different assignment string than `=` by using the attribute `assignment`.

== Custom usage formats

Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ <h2 id="_parameter_delegates">21. Parameter delegates</h2>
<h2 id="_dynamic_parameters">22. Dynamic parameters</h2>
<div class="sectionbody">
<div class="paragraph">
<p>JCommander allows you to specify parameters that are not known at compile time, such as "-Da=b -Dc=d". Such parameters are specified with the <code>@DynamicParameter</code> annotation and must be of type <code>Map&lt;String, String&gt;</code>. Dynamic parameters are allowed to appear multiple times on the command line:</p>
<p>JCommander allows you to specify parameters that are not known at compile time, such as <code>-Da=b -Dc=d</code>. Such parameters are specified with the <code>@DynamicParameter</code> annotation and must be of type <code>Map&lt;String, String&gt;</code>. Dynamic parameters are allowed to appear multiple times on the command line:</p>
</div>
<div class="listingblock">
<div class="content">
Expand All @@ -2026,7 +2026,7 @@ <h2 id="_dynamic_parameters">22. Dynamic parameters</h2>
</div>
</div>
<div class="paragraph">
<p>You can specify a different assignment string than = by using the attribute <code>assignment</code>.</p>
<p>You can specify a different assignment string than <code>=</code> by using the attribute <code>assignment</code>.</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -2210,7 +2210,7 @@ <h2 id="_download">29. Download</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-12-22 13:37:26 UTC
Last updated 2023-12-24 12:00:02 UTC
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script>
Expand Down

0 comments on commit 38acef9

Please sign in to comment.