diff options
author | Thomas Haller <thaller@redhat.com> | 2014-01-10 02:08:12 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-01-10 12:11:43 +0100 |
commit | aa931ab1f2d51f0d5b5c79c174514e22ce0c516c (patch) | |
tree | dd302ed42d67ce0e1b099ad72aa9678540602aed | |
parent | 630a1ccbcea11830201d9f2670a0064e6a83b29a (diff) | |
download | NetworkManager-aa931ab1f2d51f0d5b5c79c174514e22ce0c516c.tar.gz |
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>
-rw-r--r-- | cli/completion/nmcli | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cli/completion/nmcli b/cli/completion/nmcli index 001f985456..c26ac14e4e 100644 --- a/cli/completion/nmcli +++ b/cli/completion/nmcli @@ -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 ;; |