summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-22 12:35:38 +0100
committerThomas Haller <thaller@redhat.com>2014-12-22 15:39:48 +0100
commit3cbce6994a094d078f02543301522005e837cb55 (patch)
treee37afbe8438d7824509ba7fcaeb364215a74a39a
parent5ef233936ad270b45c65daccbfd939c5c3c4c0c0 (diff)
downloadNetworkManager-3cbce6994a094d078f02543301522005e837cb55.tar.gz
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
-rw-r--r--clients/cli/nmcli-completion2
1 files changed, 1 insertions, 1 deletions
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