diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
commit | 2c83f0ff43c9f908e686889de4c9354d561f4e26 (patch) | |
tree | e54a4791248f0cfa5e39a612ce3d33940eed937c /contrib/net-tools | |
parent | c11af089d658ad99b60314e09a68bdecac819d56 (diff) | |
download | bash-completion-2c83f0ff43c9f908e686889de4c9354d561f4e26.tar.gz |
Remove many unnecessary short option completions where long ones exist.
Diffstat (limited to 'contrib/net-tools')
-rw-r--r-- | contrib/net-tools | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/net-tools b/contrib/net-tools index b3bf8615..7f00dc50 100644 --- a/contrib/net-tools +++ b/contrib/net-tools @@ -27,9 +27,8 @@ _mii_tool() $split && return 0 if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '-v --verbose -V --version -R \ - --reset -r --restart -w --watch -l --log -A \ - --advertise -F --force' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '--verbose --version --reset --restart \ + --watch --log --advertise --force' -- "$cur" ) ) else _available_interfaces -a fi @@ -59,11 +58,10 @@ _mii_diag() $split && return 0 if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '-A --advertise -F --fixed-speed -a \ - --all-interfaces -s --status -D --debug -g \ - --read-parameters -G --set-parameters -M --msg-level \ - -p --phy -r --restart -R --reset -v -V -w --watch \ - -? --help' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '--advertise --fixed-speed --all-interfaces \ + --status --debug --read-parameters --set-parameters --msg-level \ + --phy --restart --reset --verbose --version --watch --help' \ + -- "$cur" ) ) else _available_interfaces -a fi |