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
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class Cli {
}
} else {
printHelp();
throw new IllegalArgumentException("Bad parameters <TODO>");
throw new IllegalArgumentException("Unrecognized option: " + args[0]);
}
}
}