Ayaka Koshibe | aec62962 | 2015-01-05 20:33:29 -0800 | [diff] [blame] | 1 | # tab completion settings for onos-group. |
2 | |||||
3 | # options available to onos-group | ||||
4 | GOPTS='install kill patch-vm push-keys uninstall' | ||||
5 | |||||
6 | function _ogroup-opts () { | ||||
7 | local cur=${COMP_WORDS[COMP_CWORD]} | ||||
8 | |||||
9 | if [ $COMP_CWORD -eq 1 ]; then | ||||
10 | COMPREPLY=( $( compgen -W "$GOPTS help" -- $cur ) ) | ||||
11 | fi | ||||
12 | } | ||||
13 | |||||
14 | complete -F _ogroup-opts onos-group |