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:
Lucas 2023-07-10 10:22:23 +02:00 committed by GitHub
parent d863cdecdb
commit 25b297fafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}'[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)'{-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]' '(-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]' '--list[List out the files in the trash]'
'--orphans[List orphaned files in the trash]' '--orphans[List orphaned files in the trash]'
'--restore[Restore a file from the trash]' '--restore[Restore a file from the trash]'