Skip to content

Commit 3617d83

Browse files
committed
Print help when wrong option is given.
1 parent 09ede33 commit 3617d83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/linkeddatafragments/standalone/JettyServer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ public static void main(String[] args) throws Exception {
5353
// The use of server.join() the will make the current thread join and wait until the server is done executing.
5454
// See http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html#join()
5555
server.join();
56+
} catch (ParseException e) {
57+
System.out.println(e.getMessage());
58+
printHelp = true;
5659

5760
} finally {
5861
if (printHelp) {

0 commit comments

Comments
 (0)