# HG changeset patch # User Matti Hamalainen # Date 1503426944 -10800 # Node ID 3f0fb57d58aa0aab01cda8c39949a60b8f997e6f # Parent 172a42eb290b22879e989c68298bbffbc1d6f1bf Add -a/--all option to show all information about the module. diff -r 172a42eb290b -r 3f0fb57d58aa tools/dumpmod.c --- a/tools/dumpmod.c Tue Aug 22 21:35:22 2017 +0300 +++ b/tools/dumpmod.c Tue Aug 22 21:35:44 2017 +0300 @@ -29,6 +29,7 @@ { 4, 'g', "general", "General information", OPT_NONE }, { 5, 'v', "verbose", "Be more verbose", OPT_NONE }, { 6, 'd', "dump", "Dump mode", OPT_NONE }, + { 7, 'a', "all", "Dump all information (pat, ext, gen, inst)", OPT_NONE }, }; const int optListN = sizeof(optList) / sizeof(optList[0]); @@ -76,6 +77,13 @@ optDump = TRUE; break; + case 7: + optViewPatterns = TRUE; + optViewInstruments = TRUE; + optViewGeneralInfo = TRUE; + optViewExtInstruments = TRUE; + break; + default: dmErrorMsg("Unknown argument '%s'.\n", currArg); return FALSE;