Use short -v option for verbose ZIP operation to be compatible with other ZIP command line tools.

This commit is contained in:
Bastian Kleineidam 2010-03-08 22:07:53 +01:00
parent 090a95fdba
commit f04539deae
1 changed files with 1 additions and 1 deletions

View File

@ -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