Skip to content

Commit

Permalink
fix(ip): Complete addrlabel add/del properties
Browse files Browse the repository at this point in the history
  • Loading branch information
yedayak committed Apr 3, 2024
1 parent 05147f1 commit ea07616
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion completions/ip
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,10 @@ _comp_cmd_ip()
add | del)
if [[ $prev == dev ]]; then
_comp_compgen_available_interfaces
elif [[ $prev == prefix || $prev == label ]]; then
: # TODO - Is there a way to complete these?
else
: # TODO
_comp_compgen -- -W 'dev prefix label'
fi
;;
list | flush | help) ;;
Expand Down

0 comments on commit ea07616

Please sign in to comment.