SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal

This commit is contained in:
Szilard Nemeth 2019-08-09 12:13:37 +02:00
parent f6fa865d6f
commit e5f4cd0fda

View File

@ -100,7 +100,7 @@ public static void main(String[] args) throws Exception {
}
} else {
printHelp();
throw new IllegalArgumentException("Bad parameters <TODO>");
throw new IllegalArgumentException("Unrecognized option: " + args[0]);
}
}
}