diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-09 10:59:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:00 -0500 |
commit | 8b5a9537250e2d55a782c40f51fbedafa3d6bee7 (patch) | |
tree | 9b6476bb9c29a64712daafba5da84a2363861cf1 /source4/pidl/pidl.1.xml | |
parent | 79f476a1126cc1426eb7f42d9d2b1f63051e69b1 (diff) | |
download | samba-8b5a9537250e2d55a782c40f51fbedafa3d6bee7.tar.gz samba-8b5a9537250e2d55a782c40f51fbedafa3d6bee7.tar.bz2 samba-8b5a9537250e2d55a782c40f51fbedafa3d6bee7.zip |
r10111: Make pidl by default assume the input file is an IDL file rather
then a .pidl file.
(This used to be commit d8a31d3048a6421a3d49d3c121bc86d748838b3a)
Diffstat (limited to 'source4/pidl/pidl.1.xml')
-rw-r--r-- | source4/pidl/pidl.1.xml | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/source4/pidl/pidl.1.xml b/source4/pidl/pidl.1.xml index a379dced1f..6dd0d47530 100644 --- a/source4/pidl/pidl.1.xml +++ b/source4/pidl/pidl.1.xml @@ -17,8 +17,8 @@ <command>pidl</command> <arg choice="opt">--help</arg> <arg choice="opt">--outputdir OUTNAME</arg> - <arg choice="opt">--parse</arg> - <arg choice="opt">--dump</arg> + <arg choice="opt">--parse-tree</arg> + <arg choice="opt">--dump-tree</arg> <arg choice="opt">--ndr-header[=OUTPUT]</arg> <arg choice="opt">--header[=OUTPUT]</arg> <arg choice="opt">--ejs[=OUTPUT]</arg> @@ -36,7 +36,7 @@ <arg choice="opt">--template</arg> <arg choice="opt">--eth-parser[=OUTPUT]</arg> <arg choice="opt">--diff</arg> - <arg choice="opt">--keep</arg> + <arg choice="opt">--dump-idl</arg> <arg choice="req">idlfile</arg> <arg choice="opt">idlfile2</arg> <arg choice="opt">...</arg> @@ -93,16 +93,17 @@ </varlistentry> <varlistentry> - <term>--parse</term> + <term>--parse-tree</term> <listitem><para> - Tell pidl the files specified are (midl-style) IDL files.</para></listitem> + Read internal tree structure from input files rather + then assuming they contain IDL.</para></listitem> </varlistentry> <varlistentry> - <term>--dump</term> + <term>--dump-idl</term> <listitem><para> - Convert .pidl files to (midl-style) IDL files. FIle will be named OUTNAME.idl.</para></listitem> + Generate a new IDL file. File will be named OUTNAME.idl.</para></listitem> </varlistentry> @@ -162,17 +163,18 @@ <varlistentry> <term>--diff</term> <listitem><para> - Convert an IDL file to a pidl file and then back to a - IDL file and see if there are any differences with the + Parse an IDL file, generate a new IDL file based + on the internal data structures and see if there are + any differences with the original IDL file. Useful for debugging pidl.</para></listitem> </varlistentry> <varlistentry> - <term>--keep</term> + <term>--dump-tree</term> <listitem><para> - Tell pidl to keep the pidl files (used as intermediate files - between the IDL files and the parser/server/etc code). Useful + Tell pidl to dump the internal tree representation of an IDL + file the to disk. Useful for debugging pidl.</para></listitem> </varlistentry> </variablelist> @@ -562,10 +564,10 @@ The following commands are currently supported: <programlisting> # Generating an ethereal parser - $ ./pidl --eth-parser --parse -- atsvc.idl + $ ./pidl --eth-parser -- atsvc.idl # Generating a TDR parser - $ ./pidl --tdr-parser --tdr-header --header --parse -- regf.idl + $ ./pidl --tdr-parser --tdr-header --header -- regf.idl </programlisting> </refsect1> |