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

(cherry picked from commit e5f4cd0fda)
This commit is contained in:
Szilard Nemeth 2019-08-09 12:13:37 +02:00
parent 4c4f7d9c80
commit 3e9071207a
1 changed files with 1 additions and 1 deletions

View File

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