Fix typos

- Fix the index for the addArgument example
- Fix typo as to has

Signed-off-by: Simon Rüegg <simon@rueggs.ch>
This commit is contained in:
Simon Rüegg
2017-01-31 20:51:28 +01:00
committed by Julien Viet
parent ca84f6cae7
commit 685cb65433
4 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ public class CLIExamples {
.setDescription("The source")
.setArgName("source"))
.addArgument(new Argument()
.setIndex(0)
.setIndex(1)
.setDescription("The destination")
.setArgName("target"));
}