Update src/_trash: if -h, --help specified, no other options should be completed
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
parent
25b297fafa
commit
9a8fda443c
|
@ -28,7 +28,7 @@ args=(
|
|||
'--delete[Delete a file from the trash]'
|
||||
'--empty[Empty the trash bin]'
|
||||
'--rm[Escape hatch to permanently delete a file]'
|
||||
'(-h --help)'{-h,--help}'[This help information]'
|
||||
'(- *)'{-h,--help}'[This help information]'
|
||||
'*:: :->file'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue