diff --git a/tools/gardening/bin/summary.dart b/tools/gardening/bin/summary.dart index ac4d9b063b1..6febcddb8da 100644 --- a/tools/gardening/bin/summary.dart +++ b/tools/gardening/bin/summary.dart @@ -17,10 +17,9 @@ main(List args) async { ArgParser argParser = createArgParser(); ArgResults argResults = argParser.parse(args); processArgResults(argResults); - if (argResults.rest.length == 0 || argResults['help']) { + if (argResults['help']) { help(argParser); - if (argResults['help']) return; - exit(1); + return; } var bot = new Bot(logdog: argResults['logdog']);