Use short -v option for verbose ZIP operation to be compatible with other ZIP command line tools.
This commit is contained in:
parent
090a95fdba
commit
f04539deae
|
@ -20,7 +20,7 @@ def create_zip (archive, encoding, cmd, *args, **kwargs):
|
||||||
# XXX if archive already exists, use zip -u (update)?
|
# XXX if archive already exists, use zip -u (update)?
|
||||||
cmdlist = [cmd, '-r']
|
cmdlist = [cmd, '-r']
|
||||||
if kwargs['verbose']:
|
if kwargs['verbose']:
|
||||||
cmdlist.append('--verbose')
|
cmdlist.append('-v')
|
||||||
cmdlist.append(archive)
|
cmdlist.append(archive)
|
||||||
cmdlist.extend(args)
|
cmdlist.extend(args)
|
||||||
return cmdlist
|
return cmdlist
|
||||||
|
|
Loading…
Reference in New Issue