File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ jbock is a command line parser, which uses the same well-known annotation names
5
5
and [ picocli] ( https://github.com/remkop/picocli ) .
6
6
It is an
7
7
[ 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.
9
9
10
10
### Quick rundown
11
11
@@ -70,7 +70,8 @@ The generated class is called `*Parser`.
70
70
```` java
71
71
public static void main(String [] args) {
72
72
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));
74
75
}
75
76
76
77
````
You can’t perform that action at this time.
0 commit comments