From 25b297fafa2bbd63d41bdd08e5f5eff2413589eb Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 10 Jul 2023 10:22:23 +0200 Subject: [PATCH] Update src/_trash: if --version specified, no other options should be completed Co-authored-by: Shohei YOSHIDA --- src/_trash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_trash b/src/_trash index 588cf89..e21940c 100644 --- a/src/_trash +++ b/src/_trash @@ -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]'