Fail on attempting to have no output and show info.
Some checks are pending
check_build / build (push) Waiting to run

This commit is contained in:
ckolivas 2026-02-12 20:10:23 +11:00
parent 835fd30e35
commit 9702dece4f

3
main.c
View file

@ -572,6 +572,9 @@ int main(int argc, char *argv[])
failure("Cannot specify output filename with recursive\n");
}
if (INFO && !SHOW_OUTPUT)
failure("Cannot show info and have no output.\n");
if (VERBOSE && !SHOW_PROGRESS) {
print_err("Cannot have -v and -q options. -v wins.\n");
control->flags |= FLAG_SHOW_PROGRESS;