Don't complete options when '--help' is specified

This commit is contained in:
Shohei YOSHIDA 2024-11-19 23:36:21 +09:00
parent 692e96ce54
commit 610aef9f12
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 1 additions and 1 deletions

View File

@ -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:' \