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) * Added m4v completion to mplayer (Debian: #504213)
* Improve qemu completion (Debian: #534901) * Improve qemu completion (Debian: #534901)
* Added sshfs completion (shares the same as scp) (Debian: #545978) * Added sshfs completion (shares the same as scp) (Debian: #545978)
* Fixed obvious brokenness (typos) in contrib/mdadm
[ Ville Skyttä ] [ Ville Skyttä ]
* Split yum completion to contrib/_yum (no longer installed by default, the * Split yum completion to contrib/_yum (no longer installed by default, the

View File

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