mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 22:20:27 +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
This commit is contained in:
parent
5ef233936a
commit
3cbce6994a
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