[monodis] Document --show-tokens
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 8 Jun 2017 15:36:45 +0000 (11:36 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Thu, 8 Jun 2017 16:36:24 +0000 (12:36 -0400)
mono/dis/main.c
mono/dis/monodis.1

index 4c29af97bc9773c514f7a3886fd6ceff755ec6d5..a149edb2608abf6a1e85f517cf465e2c30168ee8 100644 (file)
@@ -1951,8 +1951,10 @@ monodis_assembly_search_hook (MonoAssemblyName *aname, gpointer user_data)
 static void
 usage (void)
 {
-       GString *args = g_string_new ("[--output=filename] [--filter=filename] [--help] [--mscorlib]\n");
+       GString *args = g_string_new ("[--output=filename] [--filter=filename]\n");
        int i;
+
+       g_string_append (args, "[--help] [--mscorlib] [--show-tokens] [--show-method-tokens]\n");
        
        for (i = 0; table_list [i].name != NULL; i++){
                g_string_append (args, "[");
index 182d117308c9b9254b93762a78e15f127c9e33a3..5783a12fd81f1ec8c241238750f680bc520dea3b 100644 (file)
@@ -77,6 +77,9 @@ is useful for round-tripping the IL with ilasm.
 .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.