mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix command line options
This commit is contained in:
parent
b95b44fa90
commit
ed2bed3e86
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ def cmd_unzip(zip_file,
|
|||
if password:
|
||||
cmd.extend(['-P', password])
|
||||
if options:
|
||||
cmd.append('{0}'.format(options))
|
||||
cmd = cmd + options.split()
|
||||
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
|
||||
|
||||
if excludes is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue