main: print warnings/errors when using --validate

feature/tap-sh
William Pitcock 2017-01-26 13:30:41 -06:00
parent ef1503b769
commit da34d940ea
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -690,7 +690,7 @@ main(int argc, char *argv[])
{ "print-provides", no_argument, &want_flags, PKG_PROVIDES, },
{ "no-provides", no_argument, &want_flags, PKG_NO_PROVIDES, },
{ "debug", no_argument, &want_flags, 0, },
{ "validate", no_argument, NULL, 0 },
{ "validate", no_argument, &want_flags, PKG_VALIDATE|PKG_PRINT_ERRORS|PKG_ERRORS_ON_STDOUT },
{ "log-file", required_argument, NULL, 40 },
{ "path", no_argument, &want_flags, PKG_PATH },
{ "with-path", required_argument, NULL, 42 },