Skip to content

Commit 5b49611

Browse files
authored
Update README.md
1 parent 614349d commit 5b49611

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jbock is a command line parser, which uses the same well-known annotation names
55
and [picocli](https://github.com/remkop/picocli).
66
It is an
77
[annotation processor](https://openjdk.java.net/groups/compiler/processing-code.html)
8-
so it doesn't use runtime reflection, but generates a custom parser at compile time instead.
8+
which does not use runtime reflection, but generates a custom parser at compile time instead.
99

1010
### Quick rundown
1111

@@ -70,7 +70,8 @@ The generated class is called `*Parser`.
7070
````java
7171
public static void main(String[] args) {
7272
DeleteCommand command = DeleteCommandParser.parseOrExit(args);
73-
// or: Either<ParsingFailed, DeleteCommand> either = DeleteCommandParser.parse(List.of(args));
73+
// alternatively:
74+
// Either<ParsingFailed, DeleteCommand> either = DeleteCommandParser.parse(List.of(args));
7475
}
7576

7677
````

0 commit comments

Comments
 (0)