Skip to content

Commit

Permalink
Correct ReadMe (#61)
Browse files Browse the repository at this point in the history
Corrects a possible error in the example wrapper script that may be the cause of the unexpected behaviour reported in #61
  • Loading branch information
rvesse authored Nov 14, 2016
1 parent 0a9e637 commit 9578f89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ Note that typically you will want to create an executable JAR for your CLI using
#!/bin/bash
# myapp

java -jar my-app.jar $*
java -jar my-app.jar "$@"

**Note:** You must use `"$@"` here as otherwise Bash may expand/interpret arguments and as a result the JVM may not receive the expected arguments that the user enters.

If this is done you can then invoke your application e.g.

Expand Down

0 comments on commit 9578f89

Please sign in to comment.