-#Copyright 2016 Intel Corporation
+#Copyright 2017 Intel Corporation
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
prev="${COMP_WORDS[@]:1}"
num="$((${#COMP_WORDS[@]}-1))"
- VPP_CMD_LIST="$(cat /usr/share/vpp/clicmd.itemlist)"
+ VPP_CMD_LIST="$(cat /usr/share/vpp/vppctl-cmd-list)"
opts="$(awk -v prev="^$prev" -v num=$num '{if($0 ~ prev) print $num}' <<< "${VPP_CMD_LIST}")"