Skip to content

Commit 956bd5d

Browse files
yedayakscop
authored andcommitted
fix(ip): Complete link change as well as set
This was missing from the help and man page, but worked for a while.
1 parent 606f650 commit 956bd5d

File tree

1 file changed

+2
-2
lines changed
  • completions

1 file changed

+2
-2
lines changed

completions/ip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ _comp_cmd_ip()
136136
_comp_compgen -a -- -W 'type'
137137
fi
138138
;;
139-
set)
139+
set | change)
140140
if ((cword - subcword == 1)); then
141141
_comp_compgen_available_interfaces
142142
else
@@ -180,7 +180,7 @@ _comp_cmd_ip()
180180
;;
181181
*)
182182
((cword == subcword)) &&
183-
_comp_compgen -- -W 'help add delete set show property afstats'
183+
_comp_compgen -- -W 'help add change delete set show property afstats'
184184
;;
185185
esac
186186
;;

0 commit comments

Comments
 (0)