1#compdef unace
2
3_arguments -S \
4  '-c[show comments]' \
5  '-f[full path matching]' \
6  '-o[overwrite files]' \
7  '-p+[specify password]:password' \
8  '-y[assume yes on all queries]' \
9  '-x+[specify files to exclude]:files' \
10  '-h[print help information]' \
11  '1:unace command:((
12    e\:extract\ files
13    l\:list\ archive
14    t\:test\ archive\ integrity
15    v\:list\ archive\ \(verbose\)
16    x\:extract\ files\ with\ full\ path
17  ))' \
18  '*:files:_files -g "*.ace(-.)"'
19