Thomas Vachuska
Committed by Gerrit Code Review

Fixing usage of onos-app shell utility.

Change-Id: Ibb935312ffc2a9e2eb9e1687d36be23541094a2c
......@@ -12,12 +12,15 @@ export HDR="-HContent-Type:application/octet-stream"
export curl="curl -sS"
function usage {
echo "usage: onos-app {install|install!} <app-file>" >&2
echo " onos-app {reinstall|reinstall!} <app-name> <app-file>" >&2
echo " onos-app {activate|deactivate|uninstall} <app-name>" >&2
echo "usage: onos-app <node-ip> list" >&2
echo " onos-app <node-ip> {install|install!} <app-file>" >&2
echo " onos-app <node-ip> {reinstall|reinstall!} <app-name> <app-file>" >&2
echo " onos-app <node-ip> {activate|deactivate|uninstall} <app-name>" >&2
exit 1
}
[ -z $node -o "$node" = "-h" -o "$node" = "--help" -o "$node" = "-?" ] && usage
case $cmd in
list) $curl -X GET $URL;;
install)
......@@ -49,4 +52,4 @@ case $cmd in
*) usage;;
esac
echo #new line for prompt
echo # new line for prompt
......