[\-\-module]
[\-\-moduleref]
[\-\-mresources]
+[\-\-presources]
[\-\-nested]
[\-\-param]
[\-\-parconst]
[\-\-typeref]
[\-\-typespec]
[\-\-blob]
+[\-\-strings]
+[\-\-userstrings]
[FILES...]
.SH DESCRIPTION
-The \fImonodis\fP program is used to dump the contents a CIL image
-(contained in .EXE files that contain extended PE/COFF CIL code).
+The \fImonodis\fP program is used to dump the contents an ECMA/ISO CIL
+image (contained in .EXE files that contain extended PE/COFF CIL
+code).
+.PP
+To roundtrip assemblies using ilasm, it is best to use the --output
+argument, as that will make monodis save the embedded resources in
+files that can later be properly embedded back by ilasm.
+.PP
+Additionally, the tool can be used to dump the contents of the various
+ECMA CIL metadata tables.
.SH OPTIONS
The following Generic options are supported:
.TP
.I "--show-method-tokens"
Display tokens for disassembled methods.
.TP
+.I "--show-tokens"
+Display tokens for strings, types, methods, fields, etc.
+.SH OPTIONS TO DISPLAY METADATA TABLES
+The following options are used to display metadata tables instead of
+disassembling the CIL image.
+.TP
.I "--assembly"
Dumps the contents of the Assembly table.
.TP
Dumps the contents of the ModuleRef table.
.TP
.I "--mresources"
-Dumps the managed resources embedded in the assembly.
+Saves all the managed resources embedded in the assembly into the
+current directory. To get a list of the embedded resources use the
+--manifest option.
+.TP
+.I "--presources"
+Prints offsets and names of manifest resources embedded in the assembly.
.TP
.I "--nested"
Dumps the contents of the NestedClass table.
.TP
.I "--blob"
Dumps the entire contents of the blob stream as hex.
+.TP
+.I "--strings"
+Dumps the contents of the Strings heap.
+.TP
+.I "--userstrings"
+Dumps the contents of the User-Strings heap
.PP
If no flags are specified the program dumps the content of the image
in a format that can be used to rountrip the code.