about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-12-14 17:44:05 -0600
committerdana <dana@dana.is>2018-12-14 17:44:05 -0600
commite64bd2ad4c8740477a6fad6ca692b42da9e64f36 (patch)
tree749367435c072a7a84a4dc9190b8ff04a4643ab1 /Completion/Unix/Command
parent23154e46e6864f35c1fc2e052c4ea14fb42014fb (diff)
downloadzsh-e64bd2ad4c8740477a6fad6ca692b42da9e64f36.tar.gz
zsh-e64bd2ad4c8740477a6fad6ca692b42da9e64f36.tar.xz
zsh-e64bd2ad4c8740477a6fad6ca692b42da9e64f36.zip
unposted: _dig: Fix _arguments syntax error
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_dig4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_dig b/Completion/Unix/Command/_dig
index 18e9a0dbd..d37f18643 100644
--- a/Completion/Unix/Command/_dig
+++ b/Completion/Unix/Command/_dig
@@ -69,7 +69,7 @@ local -a alts args
 _arguments -s -C $args \
   '(- *)-h[display help information]' \
   '(- *)-v[display version information]' \
-  '*-c+[specify class]:class:compadd -M "m:{a-z}={A-Z}" - IN CS CH HS' \
+  '*-c+[specify class]:class:compadd -M "m\:{a-z}={A-Z}" - IN CS CH HS' \
   '*-b+[specify source IP]:IP' \
   '*-f+[batch mode, read arguments from file]:file:_files' \
   '*-m[enable memory usage debugging]' \
@@ -88,7 +88,7 @@ if [[ -n $state ]]; then
     _wanted hosts expl 'DNS server' _hosts && ret=0;
   else
     case $#line in
-      <3->) alts+=( 'classes:query class:compadd -M "m:{a-z}={A-Z}" - IN CS CH HS' ) ;&
+      <3->) alts+=( 'classes:query class:compadd -M "m\:{a-z}={A-Z}" - IN CS CH HS' ) ;&
       2) alts+=( 'types:query type:_dns_types' ) ;;
     esac
     _alternative 'hosts:host:_hosts' $alts && ret=0