Skip to content

Commit

Permalink
ip: invoke the tool as $1
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 16, 2019
1 parent d2574f5 commit bbe88bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/ip
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ _ip()
return
;;
*)
COMPREPLY=( $(compgen -W "help $(ip help 2>&1 | command sed -e \
COMPREPLY=( $(compgen -W "help $($1 help 2>&1 | command sed -e \
'/OBJECT := /,/}/!d' -e \
's/.*{//' -e \
's/}.*//' -e \
Expand Down

0 comments on commit bbe88bb

Please sign in to comment.