Drop -m from --in etc completion getters.
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-January/002453.html
This commit is contained in:
parent
e8f6edc5af
commit
7a4e09a6ac
@ -14,7 +14,8 @@ _ipv6calc()
|
||||
return 0
|
||||
;;
|
||||
-I|--in|-O|--out|-A|--action)
|
||||
COMPREPLY=( $( compgen -W "$( ipv6calc -m "$prev" -h 2>&1 | \
|
||||
# With ipv6calc < 0.73.0, -m does nothing here, so use sed instead.
|
||||
COMPREPLY=( $( compgen -W "$( ipv6calc "$prev" -h 2>&1 | \
|
||||
sed -ne 's/^[[:space:]]\{1,\}\([^[:space:]:]\{1,\}\)[[:space:]]*:.*/\1/p' )" \
|
||||
-- "$cur" ) )
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user