Mercurial > hg > dmlib
changeset 1346:3f0fb57d58aa
Add -a/--all option to show all information about the module.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Aug 2017 21:35:44 +0300 |
parents | 172a42eb290b |
children | c9b5b4713b57 |
files | tools/dumpmod.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;