Fix leaking $prev from cpio completion.

This commit is contained in:
Ville Skyttä 2009-05-18 15:33:07 +03:00
parent eced7126a3
commit 578810de33
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ bash-completion (1.x)
completion, assume only that --*file*= does, and that --*dir*= takes dirs. completion, assume only that --*file*= does, and that --*dir*= takes dirs.
* Add make --old/new-file, --assume-old/new, --what-if value completions. * Add make --old/new-file, --assume-old/new, --what-if value completions.
* Add smartctl -n/--nocheck completion, add more other value completions. * Add smartctl -n/--nocheck completion, add more other value completions.
* Fix leaking $prev from mkinitrd completion. * Fix leaking $prev from cpio and mkinitrd completion.
* Split ant completion to contrib/ant, improve the built in one. * Split ant completion to contrib/ant, improve the built in one.
[ Todd Zullinger ] [ Todd Zullinger ]

View File

@ -11,7 +11,7 @@ _cpio_format()
_cpio() _cpio()
{ {
local cur local cur prev
COMPREPLY=() COMPREPLY=()
cur=`_get_cword` cur=`_get_cword`