Salome HOME
Bug IPAL19893 4.x: debug information is in terminal.
[modules/kernel.git] / bin / runIDLparser.in
1 #! /bin/sh
2
3 # print the help message ====================================
4
5 # test $@="-h" -o -z $@
6
7 hh=0
8
9 if test "$#" = "0";then
10     hh=1
11 else
12     for a in $@; do
13         if test "$a" = "-h"; then
14             hh=1
15         fi
16     done
17 fi
18
19 if test "$hh" = "1" ; then
20     echo ""
21     echo "Usage : "
22     echo ""
23     echo "   to run IDLparser:"
24     echo ""
25     echo "        $0 -Wbcatalog=<my_catalog.xml>[,icon=<pngfile>][,version=<num>][,author=<name>][,name=<component_name>][,multistudy=<component_multistudy>][,remove=component_name] <file.idl>   "
26     echo ""
27     echo "   to have omniidl help:"
28     echo ""
29     echo "        $0 -u "
30     echo ""
31     exit 1
32 fi
33 #============================================================
34
35 # omiidl ====================================================
36 omniidl -bIDLparser -I ${KERNEL_ROOT_DIR}/idl/salome $@
37 #============================================================