From: Magnus Jacobsson Date: Sun, 20 Sep 2020 19:50:06 +0000 (+0200) Subject: Add option -? for usage to non-Windows version of dotty X-Git-Tag: 2.46.0~20^2^2~55^2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61122401d553b5976ee5e7144d44e84dd1bb3d5c;p=graphviz Add option -? for usage to non-Windows version of dotty --- diff --git a/cmd/dotty/dotty.sh b/cmd/dotty/dotty.sh index b3789567d..86ed4c8b5 100755 --- a/cmd/dotty/dotty.sh +++ b/cmd/dotty/dotty.sh @@ -45,6 +45,10 @@ while [ "x$1" != 'x' ]; do FILES=`echo $FILES \"$1\"` shift ;; + -\?) + $usage + exit 0 + ;; -*) $usage exit 1