From 610aef9f1276eadbf39ddf1f027f28a21ad682b3 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Tue, 19 Nov 2024 23:36:21 +0900 Subject: [PATCH] Don't complete options when '--help' is specified --- src/_age | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_age b/src/_age index a7bfde7..ae27274 100644 --- a/src/_age +++ b/src/_age @@ -15,7 +15,7 @@ _arguments \ -A '-*' \ - '(-h --help)'{-h,--help}'[show help message and exit]' \ + '(- *)'{-h,--help}'[show help message and exit]' \ '(-e --encrypt -d --decrypt)'{-e,--encrypt}'[Encrypt INPUT to OUTPUT]' \ '(-e --encrypt -d --decrypt -a --armor -p --passphrase -r --recipient -R --recipients-file)'{-d,--decrypt}'[Decrypt INPUT to OUTPUT]' \ '(-i --identity)'{-i,--identity=}'[Encrypt/Decrypt using the identities at PATH]:IDENTITY:' \