expect(option.help,isNot(matches(_questionablePatterns)),reason:'${_header}Help for $target--${option.name}" may have a typo. (If it does not you may have to update args_test.dart, sorry. Search for "_questionablePatterns")');
if(option.defaultsTo!=null){
expect(option.help,isNot(contains('Default')),reason:'${_header}Help for $target--${option.name}" mentions the default value but that is redundant with the defaultsTo option which is also specified (and preferred).');
reason:'${_header}Help for $target--${option.name}$allowedValue" mentions the default value but that is redundant with the defaultsTo option which is also specified (and preferred).',
);
}
}
}
expect(option.help,isNot(matches(_bannedArgumentReferencePatterns)),reason:'${_header}Help for $target--${option.name}" contains the string "--" in an unexpected way. If it\'s trying to mention another argument, it should be quoted, as in "--foo".');