aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-15 12:59:22 -0600
committerTim Harder <radhermit@gmail.com>2021-03-15 12:59:22 -0600
commitd5be49497576d0a40c816411b80fd455b20be367 (patch)
tree3a593fba9a67d51a40d97a80fce19c883044f710 /completion
parentcompletion: require args for relevant options (diff)
downloadpkgdev-d5be49497576d0a40c816411b80fd455b20be367.tar.gz
pkgdev-d5be49497576d0a40c816411b80fd455b20be367.tar.bz2
pkgdev-d5be49497576d0a40c816411b80fd455b20be367.zip
completion: allow multiple -m/--message options
Diffstat (limited to 'completion')
-rw-r--r--completion/zsh/_pkgdev2
1 files changed, 1 insertions, 1 deletions
diff --git a/completion/zsh/_pkgdev b/completion/zsh/_pkgdev
index 332f4c5..628a423 100644
--- a/completion/zsh/_pkgdev
+++ b/completion/zsh/_pkgdev
@@ -44,7 +44,7 @@ case $state in
{'(--scan)-s','(-s)--scan'}'[run pkgcheck against staged changes]' \
{'(--ask)-A','(-A)--ask'}'[confirm creating commit with QA errors]' \
'--mangle[forcibly enable/disable file mangling]' \
- {'(--message)-m','(-m)--message'}'[specify commit message]:message' \
+ \*{--message,-m}'[specify commit message]:message' \
{'(--message-template)-M','(-M)--message-template'}'[use commit message template from specified file]:template:_files' \
{'(--update)-u','(-u)--update'}'[stage all changed files]' \
{'(--all)-a','(-a)--all'}'[stage all changed/new/removed files]' \