Commit 13bbf407 authored by Boris's avatar Boris Committed by Pavel Vainerman

Добавил вывод на каком omni порте uniset2-start.sh будет запускать процессы

parent 375f0ee7
......@@ -21,6 +21,7 @@ Usage: ${0##*/} [options] programm [arguments]
Valid options are:
-h, --help display help screen
-o, --omni-port print default omni port for current user
-f, --foreground start programm on foreground. Default 'background'.
-g, --gdb start programm with gdb
......@@ -39,15 +40,22 @@ EOF
#parse command line options
case "$1" in
-h|--help) print_usage 0;;
-f|--foreground) FG=1;;
-f|--foreground) FG=1;;
-o|--omni-port) OPORT="omni-port";;
-vmem|--vg-memcheck) DBG="mem";;
-vcall|--vg-callgrind) DBG="call";;
-vcache|--vg-cachegrind) DBG="cache";;
-vhel|--vg-helgrind) DBG="hel";;
-vhel|--vg-helgrind) DBG="hel";;
-g|--gdb) DBG="gdb";;
esac
shift
if [ -n "OPORT" ]
then
echo "Uniset default omni port for user '$USER': $OMNIPORT"
exit 0
fi
if [ -n "$DBG" ]
then
COMLINE="$* --uniset-port $OMNIPORT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment