ckolivas / lrzip

Long Range Zip
http://lrzip.kolivas.org
GNU General Public License v2.0
618 stars 76 forks source link

41e8014 Add a -Q/--very-quiet option: Suppresses INFO. It shouldn't #241

Open pete4abw opened 1 year ago

pete4abw commented 1 year ago

Very Quiet option should not be allowed if user is trying to get INFO from an lrz file.

See this workaround from lrzip-next.

        if (INFO && !SHOW_OUTPUT) { 
                print_err("Cannot show info with -Q option. Turning on output\n"); 
                control->flags |= FLAG_OUTPUT; 
        }

Or, you could fatal abort out of it.