Committed by
Gerrit Code Review
Reverted removal of GOPTS line used by onos-group.
Change-Id: I8fd5a2903a239d5ba5f16530ecaaa00ef6e7f9e6
Showing
1 changed file
with
3 additions
and
1 deletions
1 | +# Options read by onos-group for help message formatting and sanity checks. | ||
2 | +GOPTS='install kill patch-vm push-keys uninstall' | ||
1 | 3 | ||
2 | # Tab completion settings for onos-group. | 4 | # Tab completion settings for onos-group. |
3 | function _ogroup-opts () { | 5 | function _ogroup-opts () { |
4 | local cur=${COMP_WORDS[COMP_CWORD]} | 6 | local cur=${COMP_WORDS[COMP_CWORD]} |
5 | if [ $COMP_CWORD -eq 1 ]; then | 7 | if [ $COMP_CWORD -eq 1 ]; then |
6 | - COMPREPLY=( $( compgen -W "install kill patch-vm push-keys uninstall help" -- $cur ) ) | 8 | + COMPREPLY=( $( compgen -W "${GOPTS} help" -- $cur ) ) |
7 | fi | 9 | fi |
8 | } | 10 | } |
9 | 11 | ... | ... |
-
Please register or login to post a comment