mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-02-13 19:04:16 +01:00
Fail on attempting to have no output and show info.
Some checks are pending
check_build / build (push) Waiting to run
Some checks are pending
check_build / build (push) Waiting to run
This commit is contained in:
parent
835fd30e35
commit
9702dece4f
3
main.c
3
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue