mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-10 16:00:32 +01:00
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
(cherry picked from commit 3cbce6994a)
This commit is contained in:
parent
4fb85b57b8
commit
eb7eafd424
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue