summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-06-26 23:25:25 +0200
committerThomas Bächler <thomas@archlinux.org>2011-06-26 23:25:25 +0200
commitc47da29b581acc3e7bd2b1c91eccf7bc6027f941 (patch)
tree5080362d38daeeb6b87c7b701d9cd6197e81fb66
parent027ddb69122af89c89aa50906eec045f349c9490 (diff)
downloadmkinitcpio-c47da29b581acc3e7bd2b1c91eccf7bc6027f941.tar.gz
mkinitcpio-c47da29b581acc3e7bd2b1c91eccf7bc6027f941.tar.xz
Remove old '-m' option from bash completion.
-rw-r--r--bash-completion3
1 files changed, 1 insertions, 2 deletions
diff --git a/bash-completion b/bash-completion
index 50cbb8e..0cf2a96 100644
--- a/bash-completion
+++ b/bash-completion
@@ -13,7 +13,7 @@ _lsinitcpio ()
_mkinitcpio ()
{
- local action="-c -k -s -b -g -a -p -m -S -v -M -L -H -h"
+ local action="-c -k -s -b -g -a -p -S -v -M -L -H -h"
local cur="${COMP_WORDS[COMP_CWORD]}"
local caction="${COMP_WORDS[COMP_CWORD-1]}"
case "$caction" in
@@ -22,7 +22,6 @@ _mkinitcpio ()
-b) COMPREPLY=($(compgen -d "$cur" -- $cur));;
-p) COMPREPLY=($(cd /etc/mkinitcpio.d/ && compgen -X '!*.preset' -f -- $cur|sed 's/\.preset//'));;
-H|-S) COMPREPLY=($(cd /lib/initcpio/install/ && compgen -f -- $cur));;
- -m) COMPREPLY=();;
*) COMPREPLY=($(compgen -W "${action}" -- "$cur"));;
esac
}