Added more test coverage.
This commit is contained in:
parent
9397ebaa37
commit
c43f8f5b27
6 changed files with 36 additions and 4 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue