From 3cbce6994a094d078f02543301522005e837cb55 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 22 Dec 2014 12:35:38 +0100 Subject: [PATCH] nmcli/bash-completion: don't allow specifying connection by apath for 'connection modify' The following must not be allowed: $ nmcli connection modify apath /org/freedesktop/NetworkManager/ActiveConnection/0 --- clients/cli/nmcli-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cli/nmcli-completion b/clients/cli/nmcli-completion index 35062a5fa9..dce20d138c 100644 --- a/clients/cli/nmcli-completion +++ b/clients/cli/nmcli-completion @@ -1150,7 +1150,7 @@ _nmcli() ;; esac - OPTIONS=(id uuid path apath) + OPTIONS=(id uuid path) _nmcli_compl_ARGS_CONNECTION && return 0 while [[ "${#words[@]}" -gt 0 ]]; do if [[ ${#words[@]} -le 1 ]]; then