lib/Tools/usedir
changeset 6940 ee6640456cbb
parent 6652 401f14f25648
child 7226 1a4ed2eb48f3
equal deleted inserted replaced
6939:c7c365b4f615 6940:ee6640456cbb
    13 {
    13 {
    14   echo
    14   echo
    15   echo "Usage: $PRG LOGIC NAME"
    15   echo "Usage: $PRG LOGIC NAME"
    16   echo
    16   echo
    17   echo "  Options are:"
    17   echo "  Options are:"
       
    18   echo "    -B           build mode with THIS_IS_ISABELLE_BUILD indication"
       
    19   echo "    -P PATH      set path for remote theory browsing information"
    18   echo "    -b           build mode (output heap image, using current dir)"
    20   echo "    -b           build mode (output heap image, using current dir)"
    19   echo "    -i BOOL      generate theory browsing information,"
    21   echo "    -i BOOL      generate theory browsing information,"
    20   echo "                 i.e. HTML / graph data (default false)"
    22   echo "                 i.e. HTML / graph data (default false)"
    21   echo "    -P PATH      set path for remote theory browsing information"
       
    22   echo "    -r           reset session path"
    23   echo "    -r           reset session path"
    23   echo "    -s NAME      override session NAME"
    24   echo "    -s NAME      override session NAME"
    24   echo
    25   echo
    25   echo "  Build object-logic or run examples. Also creates browsing"
    26   echo "  Build object-logic or run examples. Also creates browsing"
    26   echo "  information (HTML etc.) according to settings."
    27   echo "  information (HTML etc.) according to settings."
    40 RPATH=""
    41 RPATH=""
    41 
    42 
    42 function getoptions()
    43 function getoptions()
    43 {
    44 {
    44   OPTIND=1
    45   OPTIND=1
    45   while getopts "bi:rs:P:" OPT
    46   while getopts "BP:bi:rs:" OPT
    46   do
    47   do
    47     case "$OPT" in
    48     case "$OPT" in
       
    49       B)
       
    50         BUILD=true
       
    51         export THIS_IS_ISABELLE_BUILD=true
       
    52         ;;
    48       b)
    53       b)
    49         BUILD=true
    54         BUILD=true
    50         ;;
    55         ;;
    51       i)
    56       i)
    52         INFO="$OPTARG"
    57         INFO="$OPTARG"