From f04539deaeda7779eb41f7737bb24511e27afea9 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 8 Mar 2010 22:07:53 +0100 Subject: [PATCH] Use short -v option for verbose ZIP operation to be compatible with other ZIP command line tools. --- patoolib/programs/zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patoolib/programs/zip.py b/patoolib/programs/zip.py index 61b7f52..c1f6f50 100644 --- a/patoolib/programs/zip.py +++ b/patoolib/programs/zip.py @@ -20,7 +20,7 @@ def create_zip (archive, encoding, cmd, *args, **kwargs): # XXX if archive already exists, use zip -u (update)? cmdlist = [cmd, '-r'] if kwargs['verbose']: - cmdlist.append('--verbose') + cmdlist.append('-v') cmdlist.append(archive) cmdlist.extend(args) return cmdlist