2005-12-27 16:05:55 by steve
More minor cleanups.
This commit is contained in:
parent
a804fc4719
commit
0eec3fc5f3
@ -20,7 +20,7 @@
|
||||
# --
|
||||
# http://www.steve.org.uk
|
||||
#
|
||||
# $Id: xen-tools,v 1.13 2005-12-27 16:01:58 steve Exp $
|
||||
# $Id: xen-tools,v 1.14 2005-12-27 16:05:55 steve Exp $
|
||||
#
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@
|
||||
# Completes the command line flags, and will allow tab completion of
|
||||
# the supported filesystems
|
||||
#
|
||||
_xen-create-image()
|
||||
_xen_create_image()
|
||||
{
|
||||
local cur prev i exprfound onlyonce
|
||||
local cur prev ip
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@ -70,7 +70,7 @@ _xen-create-image()
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
complete -F _xen-create-image $filenames xen-create-image
|
||||
complete -F _xen-create-image xen_create_image
|
||||
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ complete -F _xen-create-image $filenames xen-create-image
|
||||
#
|
||||
_xen_duplicate_image()
|
||||
{
|
||||
local cur prev opts base
|
||||
local cur prev opts base ip
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user