From 9702dece4ffc080a53d2acb0fa4fb406a24f610e Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 12 Feb 2026 20:10:23 +1100 Subject: [PATCH] Fail on attempting to have no output and show info. --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 342965d..8e0309b 100644 --- a/main.c +++ b/main.c @@ -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;