mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 02:20:14 +01:00
nmcli: extend bash completion for 'nmcli networking connectivity'
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
641526781a
commit
8548d68381
1 changed files with 7 additions and 1 deletions
|
|
@ -546,7 +546,13 @@ _nmcli()
|
|||
;;
|
||||
n|ne|net|netw|netwo|networ|network|networki|networkin|networking)
|
||||
if [[ ${#words[@]} -eq 2 ]]; then
|
||||
_nmcli_list "on off help"
|
||||
_nmcli_list "on off connectivity help"
|
||||
elif [[ ${#words[@]} -eq 3 ]]; then
|
||||
case "$command" in
|
||||
c|co|con|conn|conne|connec|connect|connecti|connectiv|connectivi|connectivit|connectivity)
|
||||
_nmcli_list "check"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
r|ra|rad|radi|radio)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue