Skip to content

Commit

Permalink
Merge branch 'master' into docs-missing-class
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg authored Nov 30, 2024
2 parents f15feba + d661904 commit 0b3c082
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ will allow you to parse:

[source,bash]
----
$ java Main -debug file1 file2
$ java Main -debug 2 file1 file2
----

and the field files will receive the strings `"file1"` and `"file2"`.
Expand Down Expand Up @@ -934,8 +934,8 @@ CommandAdd add = new CommandAdd();
CommandCommit commit = new CommandCommit();
JCommander jc = JCommander.newBuilder()
.addObject(cm)
.addCommand("add", add);
.addCommand("commit", commit);
.addCommand("add", add)
.addCommand("commit", commit)
.build();
jc.parse("-v", "commit", "--amend", "--author=cbeust", "A.java", "B.java");
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ <h2 id="_main_parameter">5. Main parameter</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="prettyprint highlight"><code data-lang="bash">$ java Main -debug file1 file2</code></pre>
<pre class="prettyprint highlight"><code data-lang="bash">$ java Main -debug 2 file1 file2</code></pre>
</div>
</div>
<div class="paragraph">
Expand Down Expand Up @@ -1870,8 +1870,8 @@ <h2 id="_more_complex_syntaxes_commands">16. More complex syntaxes (commands)</h
CommandCommit commit = new CommandCommit();
JCommander jc = JCommander.newBuilder()
.addObject(cm)
.addCommand("add", add);
.addCommand("commit", commit);
.addCommand("add", add)
.addCommand("commit", commit)
.build();

jc.parse("-v", "commit", "--amend", "--author=cbeust", "A.java", "B.java");
Expand Down Expand Up @@ -2216,7 +2216,7 @@ <h2 id="_download">29. Download</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-11-29 21:12:39 +0100
Last updated 2024-11-29 21:16:04 +0100
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script>
Expand Down

0 comments on commit 0b3c082

Please sign in to comment.