[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 032483036fa03e34b344f4ef75d15da7a7511dcc
Ville Skyttä
ville.skytta at iki.fi
Mon Nov 23 18:16:45 UTC 2009
The following commit has been merged in the master branch:
commit 032483036fa03e34b344f4ef75d15da7a7511dcc
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Nov 23 20:16:30 2009 +0200
Avoid extended globbing in case labels per current style guidelines.
diff --git a/contrib/bluez b/contrib/bluez
index 19aba21..270effc 100644
--- a/contrib/bluez
+++ b/contrib/bluez
@@ -302,7 +302,7 @@ _dfutool()
prev=${COMP_WORDS[COMP_CWORD-1]}
case $prev in
- -@(d|-device))
+ -d|--device)
_bluetooth_devices
return 0;
;;
diff --git a/contrib/mailman b/contrib/mailman
index d3012da..c64cc8f 100644
--- a/contrib/mailman
+++ b/contrib/mailman
@@ -159,7 +159,7 @@ _sync_members()
COMPREPLY=( $( compgen -W 'y n' -- "$cur") )
return 0
;;
- -@(d|-file))
+ -d|--file)
_filedir
return 0
;;
@@ -396,7 +396,7 @@ _arch()
COMPREPLY=( $( compgen -W 'y n' -- "$cur") )
return 0
;;
- -@(d|-file))
+ -d|--file)
_filedir
return 0
;;
diff --git a/contrib/openssl b/contrib/openssl
index ae3e760..2db79de 100644
--- a/contrib/openssl
+++ b/contrib/openssl
@@ -226,7 +226,7 @@ _openssl()
-CAcreateserial -CAserial -text -C -md2 -md5 -sha1 \
-mdc2 -clrext -extfile -extensions -engine'
;;
- @(md5|md4|md2|sha1|sha|mdc2|ripemd160))
+ md5|md4|md2|sha1|sha|mdc2|ripemd160)
options='-c -d'
;;
esac
diff --git a/contrib/strace b/contrib/strace
index 5fcdcad..0df5997 100644
--- a/contrib/strace
+++ b/contrib/strace
@@ -9,7 +9,7 @@ _strace()
offset=0
for (( i=1; i <= COMP_CWORD; i++ )); do
case ${COMP_WORDS[$i]} in
- -@(o|e|p))
+ -o|-e|-p)
i=$((i+1))
continue
;;
--
bash-completion
More information about the Bash-completion-commits
mailing list