Skip to content

Commit

Permalink
Readme and polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonstur committed Dec 7, 2019
1 parent 46b1be0 commit c2b440c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Use the builder to parse a class you decorated with the proper annotations.

```
public static void main(final String.. args) {
final Arguments arguments = newCliParser(Arguments::new)
final CliArguments arguments = newCliParser(CliArguments::new)
.onErrorPrintHelpAndExit()
.onHelpPrintHelpAndExit()
.parseSuppressErrors(args);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/unit/TestEnum.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private enum ArgumentEnum {
}

@Test
public void optionWithInvalidType() throws InvalidCommandLine {
public void enumArguments() throws InvalidCommandLine {
final String[] args = { "--underscore", "dash-underscore", "--test", "test", "something" };
final EnumTypes arguments = parseCommandLineArguments(args, EnumTypes::new);

Expand Down

0 comments on commit c2b440c

Please sign in to comment.