diff --git a/docs/index.adoc b/docs/index.adoc index 1def3476..68d479b5 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -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"`. @@ -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"); diff --git a/docs/index.html b/docs/index.html index 38e340a0..82972465 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ - +