about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
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