Added more test coverage.

This commit is contained in:
Erik C. Thauvin 2021-10-11 02:44:02 -07:00
parent 9397ebaa37
commit c43f8f5b27
6 changed files with 36 additions and 4 deletions

View file

@ -63,9 +63,10 @@ Future<int> main(List<String> arguments) async {
try {
argResults = parser.parse(arguments);
} on FormatException catch (e) {
return await printError(
exitCode = await printError(
"${e.message}\nTry '$appName --$helpFlag' for more information.",
appName: appName);
return exitCode;
}
if (argResults[helpFlag]) {