Committed by
Gerrit Code Review
ONOS-2854 Fixed a few bugs and made tiny improvements to shell scripts.
Change-Id: I624dc05300944dbc8b1f408bf725c49ff96f68c2
Showing
3 changed files
with
3 additions
and
4 deletions
| ... | @@ -148,8 +148,8 @@ function nuke { | ... | @@ -148,8 +148,8 @@ function nuke { |
| 148 | spy "$@" | cut -c7-11 | xargs kill | 148 | spy "$@" | cut -c7-11 | xargs kill |
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | -# Edit a cell file by providing a cell name. Opens the cell file in $EDITOR. | 151 | +# Edit a cell file by providing a cell name; opens the cell file in $EDITOR. |
| 152 | -function vicell() { | 152 | +function vicell { |
| 153 | local apply=false | 153 | local apply=false |
| 154 | local create=false | 154 | local create=false |
| 155 | local cdf="" | 155 | local cdf="" | ... | ... |
| ... | @@ -44,7 +44,7 @@ function _cell-opts () { | ... | @@ -44,7 +44,7 @@ function _cell-opts () { |
| 44 | fi | 44 | fi |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | -complete -F _cell-opts cell | 47 | +complete -F _cell-opts cell vicell |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | # Tab completion settings for onos-create-app. | 50 | # Tab completion settings for onos-create-app. | ... | ... |
| ... | @@ -34,7 +34,6 @@ fi | ... | @@ -34,7 +34,6 @@ fi |
| 34 | 34 | ||
| 35 | case $2 in | 35 | case $2 in |
| 36 | start|stop|restart|status) | 36 | start|stop|restart|status) |
| 37 | - | ||
| 38 | # Select the target | 37 | # Select the target |
| 39 | if [ "${1}" = "--cell" ]; then | 38 | if [ "${1}" = "--cell" ]; then |
| 40 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) | 39 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) | ... | ... |
-
Please register or login to post a comment