nmcli autocomplete tab display : rename ERROR to ERR

The nmcli auto completation shows log levels as ERROR.
But giving ERROR it does not work. This should renamed
from ERROR to ERR

https://mail.gnome.org/archives/networkmanager-list/2014-June/msg00019.html

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Swapnil Nagarkar
2014-06-12 15:10:40 +05:30
committed by Thomas Haller
parent 948a27257a
commit 2e3523bb43

View File

@@ -269,7 +269,7 @@ _nmcli_compl_ARGS()
case "${words[0]}" in case "${words[0]}" in
level) level)
if [[ "${#words[@]}" -eq 2 ]]; then if [[ "${#words[@]}" -eq 2 ]]; then
_nmcli_list "ERROR WARN INFO DEBUG" _nmcli_list "ERR WARN INFO DEBUG"
return 0 return 0
fi fi
;; ;;