Update src/_trash: if --version specified, no other options should be completed
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
parent
d863cdecdb
commit
25b297fafa
|
@ -21,7 +21,7 @@ args=(
|
|||
'(-i --interactive -I --interactive-once -f --force)'{-i,--interactive}'[Ask before each deletion]'
|
||||
'(-i --interactive -I --interactive-once -f --force)'{-I,--interactive-once}'[Ask once if deleting 3 or more]'
|
||||
'(-i --interactive -I --interactive-once -f --force)'{-f,--force}'[Don'\''t prompt and ignore errors]'
|
||||
'--version[Output the version and exit]'
|
||||
'(- *)--version[Output the version and exit]'
|
||||
'--list[List out the files in the trash]'
|
||||
'--orphans[List orphaned files in the trash]'
|
||||
'--restore[Restore a file from the trash]'
|
||||
|
|
Loading…
Reference in New Issue