1
0
mirror of synced 2026-01-18 08:52:38 +00:00

2005-12-22 23:36:47 by steve

Remove --network + --netmask from the completion.
This commit is contained in:
steve 2005-12-22 23:36:47 +00:00
parent d52aba9199
commit 6527ade153

View File

@ -13,7 +13,7 @@
# --
# http://www.steve.org.uk
#
# $Id: xen-tools,v 1.6 2005-12-21 22:53:01 steve Exp $
# $Id: xen-tools,v 1.7 2005-12-22 23:36:47 steve Exp $
#
@ -48,7 +48,7 @@ _xen-create-image()
_expand || return 0
# complete using basic options
COMPREPLY=( $( compgen -W '--broadcast --boot --debug --debootstrap --dhcp --dir --dist --fs --gateway --help --hostname --ip --manual --memory --network --netmask --mirror --size --swap --version' -- $cur ) )
COMPREPLY=( $( compgen -W '--broadcast --boot --debug --debootstrap --dhcp --dir --dist --fs --gateway --help --hostname --ip --manual --memory --mirror --size --swap --version' -- $cur ) )
COMPREPLY=( $( echo "${COMP_WORDS[@]}" | \
(while read -d ' ' i; do
@ -81,7 +81,7 @@ _xen_duplicate_image()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="--broadcast --dhcp --dir --from --gateway --help --hostname --manual --netmask --network --version"
opts="--broadcast --dhcp --dir --from --gateway --help --hostname --manual --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] || \
[[ ${prev} == @(-q|--quiet) ]] ; then