Skip to content

Commit

Permalink
fix(ip): Remove non-existent route completion
Browse files Browse the repository at this point in the history
The ip route usage used to mention monitor as a subcommand,
but this was removed in
iproute2/iproute2@c0c44bf

Remove it from the completions
  • Loading branch information
yedayak authored and scop committed Feb 17, 2024
1 parent 0fc0af2 commit 3b9ce4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/ip
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ _comp_cmd_ip()
get)
# TODO
;;
a | add | d | del | change | append | r | replace | monitor)
a | add | d | del | change | append | r | replace)
if [[ $prev == via ]]; then
_comp_compgen_split -- "$(
{
Expand All @@ -232,7 +232,7 @@ _comp_cmd_ip()
*)
((cword == subcword)) &&
_comp_compgen -- -W 'help list flush get add del change
append replace monitor'
append replace'
;;
esac
;;
Expand Down

0 comments on commit 3b9ce4d

Please sign in to comment.