Skip to content

Commit

Permalink
Telling about Set in Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Oct 2, 2023
1 parent 0d8e65e commit 98512af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ $ java Main -log test

will cause an exception to be thrown.

=== Lists
=== Lists and Sets

When a Parameter annotation is found on a field of type `List`, JCommander will interpret it as an option that can occur multiple times:
When a Parameter annotation is found on a field of type `List` or `Set`, JCommander will interpret it as an option that can occur multiple times:

[source,java]
----
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ <h1>JCommander</h1>
<li><a href="#_types_of_options">2. Types of options</a>
<ul class="sectlevel2">
<li><a href="#_boolean">2.1. Boolean</a></li>
<li><a href="#_lists">2.2. Lists</a></li>
<li><a href="#_lists_and_sets">2.2. Lists and Sets</a></li>
<li><a href="#_password">2.3. Password</a></li>
<li><a href="#_echo_input">2.4. Echo Input</a></li>
</ul>
Expand Down Expand Up @@ -947,9 +947,9 @@ <h3 id="_boolean">2.1. Boolean</h3>
</div>
</div>
<div class="sect2">
<h3 id="_lists">2.2. Lists</h3>
<h3 id="_lists_and_sets">2.2. Lists and Sets</h3>
<div class="paragraph">
<p>When a Parameter annotation is found on a field of type <code>List</code>, JCommander will interpret it as an option that can occur multiple times:</p>
<p>When a Parameter annotation is found on a field of type <code>List</code> or <code>Set</code>, JCommander will interpret it as an option that can occur multiple times:</p>
</div>
<div class="listingblock">
<div class="content">
Expand Down Expand Up @@ -2187,7 +2187,7 @@ <h2 id="_download">29. Download</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-08-24 15:23:05 UTC
Last updated 2023-10-02 09:35:01 UTC
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script>
Expand Down

0 comments on commit 98512af

Please sign in to comment.