virtualzation run.sh: show help from underlying helper scripts
authorChris Wright <chrisw@sous-sol.org>
Wed, 22 Jan 2014 05:29:11 +0000 (21:29 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 22 Jan 2014 05:29:11 +0000 (21:29 -0800)
Show additional help output from the underlying helper scripts, and
while there fix grammar in existing help text.

Change-Id: Id1680af453b00aa4d3e957c0b58bfdfcc1c5b5d6
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
distributions/virtualization/src/assemble/resources/run.sh

index a2a49e466f66edc227070228e7f8ef8d614c41be..c6e1652a84d7395b10d9f767e826d4f2203b3e75 100755 (executable)
@@ -5,7 +5,9 @@ RUNSH_DIR=$(dirname $0)
 RUN_BASE_SH=${RUNSH_DIR}/run.base.sh
 
 function usage {
-    echo "Please select one of the 3 supported Virtualization technology : \"$0 -virt [ovsdb | opendove | vtn]\""
+    echo -e "You must select one of the 3 supported network virtualization technologies:\n\tovsdb | opendove | vtn"
+    echo "Usage: $0 -virt {ovsdb | opendove | vtn} [advanced options]"
+    echo "Advanced options: $($RUN_BASE_SH -help | sed "s;Usage: $RUN_BASE_SH ;;")"
     exit 1
 }