Print help message, if script is invoked without prefixing 'isabelle env'.

This commit is contained in:
Achim D. Brucker 2022-06-24 18:50:32 +01:00
parent 31778374ed
commit aa7d0aec09
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,12 @@ do
shift
done
if [ -z ${ISABELLE_TOOL+x} ];
then
print_help
exit 1
fi
ACTUAL_ISABELLE_VERSION=`$ISABELLE_TOOL version`
ISABELLE_VERSION="Isabelle$($ISABELLE_TOOL options -g dof_isabelle)"