Skip to content

Commit

Permalink
fix typo in docs source example
Browse files Browse the repository at this point in the history
  • Loading branch information
hogejo authored and mkarg committed Nov 30, 2024
1 parent a0f9a78 commit 4c0cfab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -928,8 +928,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

0 comments on commit 4c0cfab

Please sign in to comment.