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

This commit is contained in:
Shohei YOSHIDA
2024-11-19 23:38:45 +09:00
parent 692e96ce54
commit 610aef9f12
+1 -1
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:' \