From: ellson <devnull@localhost> Date: Tue, 18 Oct 2005 19:03:28 +0000 (+0000) Subject: Fix -V flag in lefty scripts X-Git-Tag: LAST_LIBGRAPH~32^2~7182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08d5d431a36ece008551e0675ad1964972ea82bf;p=graphviz Fix -V flag in lefty scripts --- diff --git a/cmd/dotty/dotty.sh b/cmd/dotty/dotty.sh index 18d98e121..b3789567d 100755 --- a/cmd/dotty/dotty.sh +++ b/cmd/dotty/dotty.sh @@ -3,6 +3,7 @@ FILES="" MLEVEL="0" LMODE="async" +FLAGS= usage='echo "usage: dotty [-V] [-lm (sync|async)] [-el (0|1)] <filename>"' @@ -85,7 +86,7 @@ if [ ! -f "$leftypath" ]; then exit 1 fi -exec $leftypath -e " +exec $leftypath $FLAGS -e " load ('dotty.lefty'); checkpath = function () { if (tablesize (dotty) > 0) diff --git a/cmd/lneato/lneato.sh b/cmd/lneato/lneato.sh index 2de3643ed..6b98ef23c 100755 --- a/cmd/lneato/lneato.sh +++ b/cmd/lneato/lneato.sh @@ -2,6 +2,7 @@ FILES="" MLEVEL="0" LMODE="async" +FLAGS= usage="echo usage: lneato [-V] [-lm (sync|async)] [-el (0|1)] <filename>" @@ -80,7 +81,7 @@ do CMDS="$CMDS dotty.createviewandgraph($i,'file',null,null);" done -lefty -e " +lefty $FLAGS -e " load ('dotty.lefty'); checkpath = function () {