mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 16:28:01 +02:00
cli/bash-completion: fix wrong completion for nmcli device wimax
wimax does not support these arguments. This was a copy&paste error from wifi. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
630a1ccbce
commit
aa931ab1f2
1 changed files with 0 additions and 18 deletions
|
|
@ -957,24 +957,6 @@ _nmcli()
|
|||
OPTIONS=(ifname nsp)
|
||||
_nmcli_complete_COMMAND_ARGS
|
||||
;;
|
||||
c|co|con|conn|conne|connec|connect)
|
||||
if [[ ${#words[@]} -eq 4 ]]; then
|
||||
if [[ "${words[3]}" = "" ]]; then
|
||||
_nmcli_list_nl "$(_nmcli_ap_ssid)"
|
||||
else
|
||||
_nmcli_list_nl "$(_nmcli_ap_ssid) $(_nmcli_ap_bssid)"
|
||||
fi
|
||||
else
|
||||
words=("${words[@]:4}")
|
||||
OPTIONS=(password wep-key-type ifname bssid name private)
|
||||
_nmcli_complete_COMMAND_ARGS
|
||||
fi
|
||||
;;
|
||||
r|re|res|resc|resca|rescan)
|
||||
words=("${words[@]:3}")
|
||||
OPTIONS=(ifname)
|
||||
_nmcli_complete_COMMAND_ARGS
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue