Update src/_trash: can't use -i, -I and -f at the same time

Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
Lucas 2023-07-10 10:21:21 +02:00 committed by GitHub
parent 8a0bbd7a49
commit d863cdecdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ args=(
'(-d --dir)'{-d,--dir}'[Remove empty directories]' '(-d --dir)'{-d,--dir}'[Remove empty directories]'
'(-r --recursive)'{-r,--recursive}'[Delete directories and their contents]' '(-r --recursive)'{-r,--recursive}'[Delete directories and their contents]'
'(-v --verbose)'{-v,--verbose}'[Print more information]' '(-v --verbose)'{-v,--verbose}'[Print more information]'
'(-i --interactive)'{-i,--interactive}'[Ask before each deletion]' '(-i --interactive -I --interactive-once -f --force)'{-i,--interactive}'[Ask before each deletion]'
'(-I --interactive-once)'{-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]'
'(-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]'