Fixed obvious brokenness (typos) in contrib/mdadm

This commit is contained in:
David Paleino 2009-09-16 20:33:53 +02:00
parent 796a7f4e37
commit 0b35bdb5af
2 changed files with 11 additions and 10 deletions

View File

@ -35,6 +35,7 @@ bash-completion (1.x)
* Added m4v completion to mplayer (Debian: #504213)
* Improve qemu completion (Debian: #534901)
* Added sshfs completion (shares the same as scp) (Debian: #545978)
* Fixed obvious brokenness (typos) in contrib/mdadm
[ Ville Skyttä ]
* Split yum completion to contrib/_yum (no longer installed by default, the

View File

@ -3,7 +3,7 @@
#
# bash completion for mdadm
have mdam && {
have mdadm && {
_mdadm_raid_level()
{
local mode
@ -31,7 +31,7 @@ _mdadm_raid_level()
esac
}
__mdadm_raid_layout()
_mdadm_raid_layout()
{
local level
for (( i=1; i < COMP_CWORD; i++ )); do
@ -80,19 +80,19 @@ _mdadm()
return 0
;;
-l)
_mdam_raid_level
_mdadm_raid_level
return 0
;;
-p)
_mdam_raid_layout
_mdadm_raid_layout
return 0
;;
-a)
_mdam_auto_flag
_mdadm_auto_flag
return 0
;;
-U)
_mdam_update_flag
_mdadm_update_flag
return 0
;;
esac
@ -107,19 +107,19 @@ _mdadm()
return 0
;;
--level)
_mdam_raid_level
_mdadm_raid_level
return 0
;;
--@(layout|parity))
_mdam_raid_layout
_mdadm_raid_layout
return 0
;;
--auto)
_mdam_auto_flag
_mdadm_auto_flag
return 0
;;
--update)
_mdam_update_flag
_mdadm_update_flag
return 0
;;
esac