[PATCH] 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
---
 cli/completion/nmcli | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/completion/nmcli b/cli/completion/nmcli
index 43a62f7..343c732 100644
--- a/cli/completion/nmcli
+++ b/cli/completion/nmcli
@@ -269,7 +269,7 @@ _nmcli_compl_ARGS()
         case "${words[0]}" in
             level)
                 if [[ "${#words[ ]}" -eq 2 ]]; then
-                    _nmcli_list "ERROR WARN INFO DEBUG"
+                    _nmcli_list "ERR WARN INFO DEBUG"
                    return 0
                 fi
                 ;;
-- 
1.9.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]